From c8701115462b482d99ecff24d9de0f2806084ba5 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 21 Nov 2010 20:49:05 -0800 Subject: 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 Reviewed-by: Peter Hutterer --- include/X11/Xlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 */ -- cgit v1.2.1