diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-05-18 19:37:37 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-05-18 19:37:37 +0000 |
commit | ed8b5dc3d5426f4774308a46ca2835134844f28e (patch) | |
tree | 6a84e81f8ccf7faf4497c80e83bfc921a532648f /lib/libX11/src/ChAccCon.c | |
parent | b10ed8a977078fdc40846586222217fa9255196d (diff) |
Update to libX11 1.3.3. Tested on a bulk ports build by naddy@.
Diffstat (limited to 'lib/libX11/src/ChAccCon.c')
-rw-r--r-- | lib/libX11/src/ChAccCon.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/lib/libX11/src/ChAccCon.c b/lib/libX11/src/ChAccCon.c index eef3bb016..f8d099668 100644 --- a/lib/libX11/src/ChAccCon.c +++ b/lib/libX11/src/ChAccCon.c @@ -1,4 +1,3 @@ -/* $Xorg: ChAccCon.c,v 1.4 2001/02/09 02:03:31 xorgcvs Exp $ */ /* Copyright 1986, 1998 The Open Group @@ -24,7 +23,6 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. */ -/* $XFree86: xc/lib/X11/ChAccCon.c,v 1.3 2001/01/17 19:41:32 dawes Exp $ */ #ifdef HAVE_CONFIG_H #include <config.h> @@ -32,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; |