summaryrefslogtreecommitdiff
path: root/src/xkbatom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xkbatom.c')
-rw-r--r--src/xkbatom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xkbatom.c b/src/xkbatom.c
index 8878892..c55ee44 100644
--- a/src/xkbatom.c
+++ b/src/xkbatom.c
@@ -103,7 +103,7 @@ static unsigned long tableLength;
static NodePtr *nodeTable;
static Atom
-_XkbMakeAtom(char *string, unsigned len, Bool makeit)
+_XkbMakeAtom(const char *string, unsigned len, Bool makeit)
{
register NodePtr *np;
unsigned i;
@@ -204,7 +204,7 @@ XkbAtomGetString(Display *dpy, Atom atm)
/***====================================================================***/
Atom
-XkbInternAtom(Display *dpy, char *name, Bool onlyIfExists)
+XkbInternAtom(Display *dpy, const char *name, Bool onlyIfExists)
{
if (name == NULL)
return None;