aboutsummaryrefslogtreecommitdiff
path: root/jim.h
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2010-09-16 09:56:14 +1000
committerSteve Bennett <steveb@workware.net.au>2010-10-15 11:02:53 +1000
commite9a230adb3af07d8323a11f90151076b32df432b (patch)
tree32e9cc5ac8c91fd62fcd6b0be0a88fb8cc2c7ac9 /jim.h
parentb132ba7d92f1e42d3711976f059087e521d083a4 (diff)
downloadjimtcl-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/jim.h b/jim.h
index 7db83d1..34b71f5 100644
--- a/jim.h
+++ b/jim.h
@@ -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);