diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-10-07 19:45:21 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-10-07 19:52:17 -0700 |
commit | fd0da0d44a8501edaac3be7fac9449ad730d8bf4 (patch) | |
tree | 14af1e5d5b15551b97cf77345fd0dbdecd5889fb /src | |
parent | af9e4b75167c0e31ec02d5ababf204daa12f500d (diff) |
Add const attributes to TMparse typedefs to fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/TMparse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/TMparse.c b/src/TMparse.c index 5fddb82..d233644 100644 --- a/src/TMparse.c +++ b/src/TMparse.c @@ -113,14 +113,14 @@ typedef TMShortCard Value; typedef void (*ModifierProc)(Value, LateBindingsPtr*, Boolean, Value*); typedef struct _ModifierRec { - char* name; + const char *name; XrmQuark signature; ModifierProc modifierParseProc; Value value; } ModifierRec, *ModifierKeys; typedef struct _EventKey { - char *event; + const char *event; XrmQuark signature; EventType eventType; ParseProc parseDetail; @@ -128,7 +128,7 @@ typedef struct _EventKey { }EventKey, *EventKeys; typedef struct { - char *name; + const char *name; XrmQuark signature; Value value; } NameValueRec, *NameValueTable; |