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 /dln.c | |
parent | d772c1af14a3b75bc519b2bc66d11a19879f782c (diff) | |
download | ruby-73c59df711a91a8652d03e25fb668bf42541d9b5.tar.gz |
* 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 'dln.c')
-rw-r--r-- | dln.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -636,7 +636,7 @@ load_1(fd, disp, need_init) long disp; const char *need_init; { - static char *libc = LIBC_NAME; + static const char *libc = LIBC_NAME; struct exec hdr; struct relocation_info *reloc = NULL; long block = 0; @@ -1791,7 +1791,7 @@ dln_find_1(fname, path, exe_flag) #endif #if defined(DOSISH) if (exe_flag) { - static const char *extension[] = { + static const char *const extension[] = { #if defined(MSDOS) ".com", ".exe", ".bat", #if defined(DJGPP) |