aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/ChAccCon.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/ChAccCon.c')
-rw-r--r--nx-X11/lib/X11/ChAccCon.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/nx-X11/lib/X11/ChAccCon.c b/nx-X11/lib/X11/ChAccCon.c
index f68714892..f8d099668 100644
--- a/nx-X11/lib/X11/ChAccCon.c
+++ b/nx-X11/lib/X11/ChAccCon.c
@@ -30,25 +30,21 @@ in this Software without prior written authorization from The Open Group.
#include "Xlibint.h"
int
-XEnableAccessControl(dpy)
- register Display *dpy;
-
+XEnableAccessControl(register Display *dpy)
{
return XSetAccessControl(dpy, EnableAccess);
}
int
-XDisableAccessControl(dpy)
- register Display *dpy;
-
+XDisableAccessControl(register Display *dpy)
{
return XSetAccessControl(dpy, DisableAccess);
}
int
-XSetAccessControl(dpy, mode)
- register Display *dpy;
- int mode;
+XSetAccessControl(
+ register Display *dpy,
+ int mode)
{
register xSetAccessControlReq *req;