summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-11-21 20:49:05 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-11-24 15:23:27 -0800
commitc8701115462b482d99ecff24d9de0f2806084ba5 (patch)
tree98546b52a3c26dc6d40eb4d1cd11bb60e1510f08 /include
parent24db5b5ff0d51b0ed9d9701a792c5f14f23b638d (diff)
downloadxorg-lib-libX11-c8701115462b482d99ecff24d9de0f2806084ba5.tar.gz
Mark atom names argument to XInternAtoms as const
Updates code & docs for XInternAtoms. The single atom name argument to XInternAtom was already const char * in the code, but not the docs, so updated it in the docs too. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
-rw-r--r--include/X11/Xlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/X11/Xlib.h b/include/X11/Xlib.h
index 5c6c7707..b0d7d4dc 100644
--- a/include/X11/Xlib.h
+++ b/include/X11/Xlib.h
@@ -1548,7 +1548,7 @@ extern Atom XInternAtom(
);
extern Status XInternAtoms(
Display* /* dpy */,
- char** /* names */,
+ _Xconst char** /* names */,
int /* count */,
Bool /* onlyIfExists */,
Atom* /* atoms_return */