aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/GetAtomNm.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/GetAtomNm.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/GetAtomNm.c')
-rw-r--r--nx-X11/lib/X11/GetAtomNm.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/nx-X11/lib/X11/GetAtomNm.c b/nx-X11/lib/X11/GetAtomNm.c
index 4efe3ddc8..9823c690c 100644
--- a/nx-X11/lib/X11/GetAtomNm.c
+++ b/nx-X11/lib/X11/GetAtomNm.c
@@ -49,16 +49,16 @@ char *_XGetAtomName(
if ((name = (char *)Xmalloc(idx)))
strcpy(name, EntryName(e));
return name;
- }
+ }
}
}
GetResReq(GetAtomName, atom, req);
return (char *)NULL;
}
-char *XGetAtomName(dpy, atom)
- register Display *dpy;
- Atom atom;
+char *XGetAtomName(
+ register Display *dpy,
+ Atom atom)
{
xGetAtomNameReply rep;
char *name;
@@ -67,7 +67,7 @@ char *XGetAtomName(dpy, atom)
if ((name = _XGetAtomName(dpy, atom))) {
UnlockDisplay(dpy);
return name;
- }
+ }
if (_XReply(dpy, (xReply *)&rep, 0, xFalse) == 0) {
UnlockDisplay(dpy);
SyncHandle();
@@ -139,11 +139,11 @@ Bool _XGetAtomNameHandler(
}
Status
-XGetAtomNames (dpy, atoms, count, names_return)
- Display *dpy;
- Atom *atoms;
- int count;
- char **names_return;
+XGetAtomNames (
+ Display *dpy,
+ Atom *atoms,
+ int count,
+ char **names_return)
{
_XAsyncHandler async;
_XGetAtomNameState async_state;