From 687d44b6eaa3c64a12af9bbd557b401419b208eb Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Fri, 29 Jul 2016 00:44:38 +0200 Subject: update src files *[ch] to libX11 1.3.4 --- nx-X11/lib/X11/IntAtom.c | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'nx-X11/lib/X11/IntAtom.c') 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; -- cgit v1.2.3