aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/IntAtom.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2016-07-29 00:44:38 +0200
committerUlrich Sibiller <uli42@gmx.de>2016-10-10 22:52:29 +0200
commit687d44b6eaa3c64a12af9bbd557b401419b208eb (patch)
tree55c30ba6b0ae6a2618395fae92922ea4402d52f6 /nx-X11/lib/X11/IntAtom.c
parentea24f0b0eb7b82ad879810c8e84292d6bf810bea (diff)
downloadnx-libs-687d44b6eaa3c64a12af9bbd557b401419b208eb.tar.gz
nx-libs-687d44b6eaa3c64a12af9bbd557b401419b208eb.tar.bz2
nx-libs-687d44b6eaa3c64a12af9bbd557b401419b208eb.zip
update src files *[ch] to libX11 1.3.4
Diffstat (limited to 'nx-X11/lib/X11/IntAtom.c')
-rw-r--r--nx-X11/lib/X11/IntAtom.c31
1 files changed, 15 insertions, 16 deletions
diff --git a/nx-X11/lib/X11/IntAtom.c b/nx-X11/lib/X11/IntAtom.c
index a1f9f7f14..7a5625840 100644
--- a/nx-X11/lib/X11/IntAtom.c
+++ b/nx-X11/lib/X11/IntAtom.c
@@ -37,8 +37,7 @@ from The Open Group.
#define REHASH(idx,rehash) ((idx + rehash) & (TABLESIZE-1))
void
-_XFreeAtomTable(dpy)
- Display *dpy;
+_XFreeAtomTable(Display *dpy)
{
register Entry *table;
register int i;
@@ -113,13 +112,13 @@ nomatch: if (idx == firstidx)
}
void
-_XUpdateAtomCache(dpy, name, atom, sig, idx, n)
- Display *dpy;
- const char *name;
- Atom atom;
- unsigned long sig;
- int idx;
- int n;
+_XUpdateAtomCache(
+ Display *dpy,
+ const char *name,
+ Atom atom,
+ unsigned long sig,
+ int idx,
+ int n)
{
Entry e, oe;
register char *s1;
@@ -238,12 +237,12 @@ Bool _XIntAtomHandler(
}
Status
-XInternAtoms (dpy, names, count, onlyIfExists, atoms_return)
- Display *dpy;
- char **names;
- int count;
- Bool onlyIfExists;
- Atom *atoms_return;
+XInternAtoms (
+ Display *dpy,
+ char **names,
+ int count,
+ Bool onlyIfExists,
+ Atom *atoms_return)
{
int i, idx, n, tidx;
unsigned long sig;
@@ -283,7 +282,7 @@ XInternAtoms (dpy, names, count, onlyIfExists, atoms_return)
}
if (_XReply (dpy, (xReply *)&rep, 0, xTrue)) {
if ((atoms_return[missed] = rep.atom))
- _XUpdateAtomCache(dpy, names[missed], (Atom) rep.atom,
+ _XUpdateAtomCache(dpy, names[missed], (Atom) rep.atom,
sig, idx, n);
} else {
atoms_return[missed] = None;