aboutsummaryrefslogtreecommitdiff
path: root/jim-regexp.c
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2010-10-18 11:45:33 +1000
committerSteve Bennett <steveb@workware.net.au>2010-10-20 10:30:34 +1000
commit0344a6bee50e0fced3f3c347bc61a137eabe6bb7 (patch)
tree837c49e0e74e86d3a2cda69ba8f780d0de082e18 /jim-regexp.c
parentc00426df647271ce753acf97103086d73b8fbb83 (diff)
downloadjimtcl-0344a6bee50e0fced3f3c347bc61a137eabe6bb7.zip
jimtcl-0344a6bee50e0fced3f3c347bc61a137eabe6bb7.tar.gz
jimtcl-0344a6bee50e0fced3f3c347bc61a137eabe6bb7.tar.bz2
Mark some more static data as const
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-regexp.c')
-rw-r--r--jim-regexp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/jim-regexp.c b/jim-regexp.c
index 1ca27d7..8c9b934 100644
--- a/jim-regexp.c
+++ b/jim-regexp.c
@@ -127,7 +127,7 @@ int Jim_RegexpCmd(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
enum {
OPT_INDICES, OPT_NOCASE, OPT_LINE, OPT_ALL, OPT_INLINE, OPT_START, OPT_END
};
- static const char const *options[] = {
+ static const char * const options[] = {
"-indices", "-nocase", "-line", "-all", "-inline", "-start", "--", NULL
};
@@ -356,7 +356,7 @@ int Jim_RegsubCmd(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
enum {
OPT_NOCASE, OPT_LINE, OPT_ALL, OPT_START, OPT_END
};
- static const char const *options[] = {
+ static const char * const options[] = {
"-nocase", "-line", "-all", "-start", "--", NULL
};