summaryrefslogtreecommitdiff
path: root/Xext/syncsrv.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-04 23:21:34 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-23 12:15:07 -0800
commit05f589d464a961aea8d25632a390fb66a06cd186 (patch)
tree76ed00ac377c882f2ba7f1c8f8f19926375d6aca /Xext/syncsrv.h
parent232f1ddf3d060f3ce9d2ebd35f33b1294cac380e (diff)
Fix gcc -Wwrite-strings warnings in various extensions
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'Xext/syncsrv.h')
-rw-r--r--Xext/syncsrv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xext/syncsrv.h b/Xext/syncsrv.h
index 7ca1fba26..2b7077364 100644
--- a/Xext/syncsrv.h
+++ b/Xext/syncsrv.h
@@ -66,7 +66,7 @@ typedef enum {
} SyncCounterType;
typedef struct _SysCounterInfo {
- char *name;
+ const char *name;
CARD64 resolution;
CARD64 bracket_greater;
CARD64 bracket_less;
@@ -118,7 +118,7 @@ typedef union {
} SyncAwaitUnion;
extern pointer SyncCreateSystemCounter(
- char * /* name */,
+ const char */* name */,
CARD64 /* inital_value */,
CARD64 /* resolution */,
SyncCounterType /* change characterization */,