diff options
author | Keith Packard <keithp@keithp.com> | 2013-11-15 16:24:15 +0900 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-01-12 10:14:48 -0800 |
commit | 27b44949a3d2e34ac10e801bd8a8fc2c28791e7e (patch) | |
tree | dfc724613f2186dda5e5095b296a08e126b3547d /hw/xfree86/common/xf86Privstr.h | |
parent | 6f77e2645ea36e324ccc664aae1d36464418bdea (diff) |
hw/xfree86: Lots of constant string support
Make lots of string pointers 'const char' so that we can use constant
strings with them without eliciting warnings.
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'hw/xfree86/common/xf86Privstr.h')
-rw-r--r-- | hw/xfree86/common/xf86Privstr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/common/xf86Privstr.h b/hw/xfree86/common/xf86Privstr.h index e20be03a9..ddcb3ca08 100644 --- a/hw/xfree86/common/xf86Privstr.h +++ b/hw/xfree86/common/xf86Privstr.h @@ -136,7 +136,7 @@ typedef struct { /* Information for root window properties. */ typedef struct _RootWinProp { struct _RootWinProp *next; - char *name; + const char *name; Atom type; short format; long size; |