summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-11 20:05:49 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-11 20:14:01 -0800
commitf8224be41700ccf7d639bd9a10818a45b10bc63a (patch)
tree7d105f33a8454ad23bd2aa5715fd525aaba6a3b3 /include
parentac59cccf8bc1ae3d41e0608f131b5eb888f9362b (diff)
Constify string argument to MakeAtom
Matches what's already been done in xserver and libXfont Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'include')
-rw-r--r--include/difs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/difs.h b/include/difs.h
index 2064bb3..8ec255c 100644
--- a/include/difs.h
+++ b/include/difs.h
@@ -42,7 +42,7 @@ extern ReplySwapFunc ReplySwapVector[NUM_PROC_VECTORS];
/* FIXME: this is derived from fontstruct.h; should integrate it */
/* difs/atom.c */
-extern Atom MakeAtom ( char *string, unsigned len, Bool makeit );
+extern Atom MakeAtom ( const char *string, unsigned len, Bool makeit );
extern int ValidAtom ( Atom atom );
extern char * NameForAtom ( Atom atom );
extern void InitAtoms ( void );