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.h | |
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.h')
-rw-r--r-- | jim.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -841,7 +841,7 @@ JIM_EXPORT int Jim_ScriptIsComplete (const char *s, int len, * * Returns the matching index if found, or -1 if not. */ -JIM_EXPORT int Jim_FindByName(const char *name, const char *array[], size_t len); +JIM_EXPORT int Jim_FindByName(const char *name, const char * const array[], size_t len); /* package utilities */ typedef void (Jim_InterpDeleteProc)(Jim_Interp *interp, void *data); |