From 83c1c0116fc03c0b90ebd6aaa580cb579cf84a51 Mon Sep 17 00:00:00 2001 From: patthoyts Date: Fri, 4 Mar 2005 10:06:05 +0000 Subject: Use command line vars in the Makefile. Make const quiet with gcc -Wwrite-strings Fixed macro usage in COM extension that gcc doesn't like. --- jim.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jim.h') diff --git a/jim.h b/jim.h index ab9541c..dde4bd8 100644 --- a/jim.h +++ b/jim.h @@ -322,7 +322,7 @@ typedef void (Jim_DupInternalRepProc)(struct Jim_Interp *interp, typedef void (Jim_UpdateStringProc)(struct Jim_Obj *objPtr); typedef struct Jim_ObjType { - char *name; /* The name of the type. */ + const char *name; /* The name of the type. */ Jim_FreeInternalRepProc *freeIntRepProc; Jim_DupInternalRepProc *dupIntRepProc; Jim_UpdateStringProc *updateStringProc; -- cgit v1.1