diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-26 04:57:48 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-26 04:57:48 +0000 |
commit | 73c59df711a91a8652d03e25fb668bf42541d9b5 (patch) | |
tree | 2c1d50eb8105bd7e318aa9b947621753fabc5546 /ruby.c | |
parent | d772c1af14a3b75bc519b2bc66d11a19879f782c (diff) |
* dln.c (load_1, dln_find_1): constified.
* ruby.c (usage): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -77,7 +77,7 @@ usage(name) /* This message really ought to be max 23 lines. * Removed -h because the user already knows that option. Others? */ - static char *usage_msg[] = { + static const char *const usage_msg[] = { "-0[octal] specify record separator (\\0, if no argument)", "-a autosplit mode with -n or -p (splits $_ into $F)", "-c check syntax only", @@ -103,7 +103,7 @@ usage(name) "--version print the version", NULL }; - char **p = usage_msg; + const char *const *p = usage_msg; printf("Usage: %s [switches] [--] [programfile] [arguments]\n", name); while (*p) |