summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-12-22 20:54:14 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-12-22 20:54:14 -0800
commita5126694b29bdf9c852254b53174fcf37537b121 (patch)
treeb5b2f3bb8b479611e946b33c7f45a0ff4b935401
parent8bc8502c698115c3f4885ba42e60ede0e681caaa (diff)
downloadxorg-driver-xf86-input-mouse-a5126694b29bdf9c852254b53174fcf37537b121.tar.gz
Mark symtab_t.name in pnp.c as const to fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/pnp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pnp.c b/src/pnp.c
index 2a98e50..762dae5 100644
--- a/src/pnp.c
+++ b/src/pnp.c
@@ -61,7 +61,7 @@ typedef struct {
/* symbol table entry */
typedef struct {
- char *name;
+ const char *name;
MouseProtocolID val;
} symtab_t;