diff options
author | Steve Bennett <steveb@workware.net.au> | 2010-09-16 09:56:14 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2010-10-15 11:02:53 +1000 |
commit | e9a230adb3af07d8323a11f90151076b32df432b (patch) | |
tree | 32e9cc5ac8c91fd62fcd6b0be0a88fb8cc2c7ac9 /jim-aio.c | |
parent | b132ba7d92f1e42d3711976f059087e521d083a4 (diff) | |
download | jimtcl-e9a230adb3af07d8323a11f90151076b32df432b.zip jimtcl-e9a230adb3af07d8323a11f90151076b32df432b.tar.gz jimtcl-e9a230adb3af07d8323a11f90151076b32df432b.tar.bz2 |
Make sure all static data is marked read-only
This reduces the size of the non-shared data segment
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-aio.c')
-rw-r--r-- | jim-aio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1265,7 +1265,7 @@ static int JimAioPutsCmd(Jim_Interp *interp, int argc, Jim_Obj *const *argv) static void JimAioTclCompat(Jim_Interp *interp) { - static const char *tclcmds[] = { "read", "gets", "flush", "close", "eof", "seek", "tell", 0 }; + static const char * const tclcmds[] = { "read", "gets", "flush", "close", "eof", "seek", "tell", 0 }; int i; for (i = 0; tclcmds[i]; i++) { |