diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2010-11-21 20:49:05 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2010-11-24 15:23:27 -0800 |
commit | c8701115462b482d99ecff24d9de0f2806084ba5 (patch) | |
tree | 98546b52a3c26dc6d40eb4d1cd11bb60e1510f08 /man | |
parent | 24db5b5ff0d51b0ed9d9701a792c5f14f23b638d (diff) | |
download | xorg-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 'man')
-rw-r--r-- | man/XInternAtom.man | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/man/XInternAtom.man b/man/XInternAtom.man index 237ed91c..44aa68a6 100644 --- a/man/XInternAtom.man +++ b/man/XInternAtom.man @@ -144,11 +144,11 @@ XInternAtom, XInternAtoms, XGetAtomName, XGetAtomNames \- create or return atom names .SH SYNTAX .HP -Atom XInternAtom\^(\^Display *\fIdisplay\fP\^, char *\fIatom_name\fP\^, Bool -\fIonly_if_exists\fP\^); +Atom XInternAtom\^(\^Display *\fIdisplay\fP\^, const char *\fIatom_name\fP\^, +Bool \fIonly_if_exists\fP\^); .HP -Status XInternAtoms\^(\^Display *\fIdisplay\fP\^, char **\fInames\fP\^, int -\fIcount\fP\^, Bool \fIonly_if_exists\fP\^, Atom *\fIatoms_return\fP\^); +Status XInternAtoms\^(\^Display *\fIdisplay\fP\^, const char **\fInames\fP\^, +int \fIcount\fP\^, Bool \fIonly_if_exists\fP\^, Atom *\fIatoms_return\fP\^); .HP char *XGetAtomName\^(\^Display *\fIdisplay\fP\^, Atom \fIatom\fP\^); .HP |