From 0344a6bee50e0fced3f3c347bc61a137eabe6bb7 Mon Sep 17 00:00:00 2001 From: Steve Bennett <steveb@workware.net.au> Date: Mon, 18 Oct 2010 11:45:33 +1000 Subject: Mark some more static data as const Signed-off-by: Steve Bennett <steveb@workware.net.au> --- jim-regexp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jim-regexp.c') 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 }; -- cgit v1.1