From 05f589d464a961aea8d25632a390fb66a06cd186 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 4 Nov 2011 23:21:34 -0700 Subject: Fix gcc -Wwrite-strings warnings in various extensions Signed-off-by: Alan Coopersmith Reviewed-by: Jeremy Huddleston --- Xext/syncsrv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Xext/syncsrv.h') 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 */, -- cgit v1.2.3