From e9a230adb3af07d8323a11f90151076b32df432b Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Thu, 16 Sep 2010 09:56:14 +1000 Subject: Make sure all static data is marked read-only This reduces the size of the non-shared data segment Signed-off-by: Steve Bennett --- jim-regexp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jim-regexp.c') diff --git a/jim-regexp.c b/jim-regexp.c index 8744ef1..43f76ae 100644 --- a/jim-regexp.c +++ b/jim-regexp.c @@ -60,7 +60,7 @@ void FreeRegexpInternalRep(Jim_Interp *interp, Jim_Obj *objPtr) Jim_Free(objPtr->internalRep.regexpValue.compre); } -static Jim_ObjType regexpObjType = { +static const Jim_ObjType regexpObjType = { "regexp", FreeRegexpInternalRep, NULL, -- cgit v1.1