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 /src | |
parent | 24db5b5ff0d51b0ed9d9701a792c5f14f23b638d (diff) |
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 'src')
-rw-r--r-- | src/IntAtom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/IntAtom.c b/src/IntAtom.c index 7a562584..80d78c08 100644 --- a/src/IntAtom.c +++ b/src/IntAtom.c @@ -190,7 +190,7 @@ XInternAtom ( typedef struct { unsigned long start_seq; unsigned long stop_seq; - char **names; + const char **names; Atom *atoms; int count; Status status; @@ -239,7 +239,7 @@ Bool _XIntAtomHandler( Status XInternAtoms ( Display *dpy, - char **names, + const char **names, int count, Bool onlyIfExists, Atom *atoms_return) |