summaryrefslogtreecommitdiff
path: root/src/XLbx.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:48 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:48 +0000
commit6b0dceb5b6027c98e478467576cf61aee1d87074 (patch)
tree19499806f6f350acebae7810f1062bb4858e52e5 /src/XLbx.c
parent0d3d2607404af7f6e059fab64caea39dc34e391e (diff)
downloadxorg-lib-libXext-6b0dceb5b6027c98e478467576cf61aee1d87074.tar.gz
Diffstat (limited to 'src/XLbx.c')
-rw-r--r--src/XLbx.c23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/XLbx.c b/src/XLbx.c
index cf4ee16..a0a2a3a 100644
--- a/src/XLbx.c
+++ b/src/XLbx.c
@@ -22,13 +22,16 @@
*
* Author: Keith Packard, Network Computing Devices
*/
+/* $XFree86: xc/lib/Xext/XLbx.c,v 1.5 2002/10/16 02:19:22 dawes Exp $ */
+
#define NEED_EVENTS
#define NEED_REPLIES
-#include "Xlibint.h"
-#include "XLbx.h"
-#include "lbxstr.h"
-#include "Xext.h"
-#include "extutil.h"
+#include <stdio.h>
+#include <X11/Xlibint.h>
+#include <X11/extensions/XLbx.h>
+#include <X11/extensions/lbxstr.h>
+#include <X11/extensions/Xext.h>
+#include <X11/extensions/extutil.h>
static XExtensionInfo _lbx_info_data;
static XExtensionInfo *lbx_info = &_lbx_info_data;
@@ -37,10 +40,9 @@ static /* const */ char *lbx_extension_name = LBXNAME;
#define LbxCheckExtension(dpy,i,val) \
XextCheckExtension (dpy, i, lbx_extension_name, val)
-static int close_display();
-static char *error_string();
-static Bool wire_to_event();
-static Status event_to_wire();
+static int close_display(Display *dpy, XExtCodes *codes);
+static char *error_string(Display *dpy, int code, XExtCodes *codes,
+ char *buf, int n);
static /* const */ XExtensionHooks lbx_extension_hooks = {
NULL, /* create_gc */
NULL, /* copy_gc */
@@ -85,8 +87,7 @@ Bool XLbxQueryExtension (dpy, requestp, event_basep, error_basep)
}
-int XLbxGetEventBase(dpy)
- Display *dpy;
+int XLbxGetEventBase(Display *dpy)
{
XExtDisplayInfo *info = find_display (dpy);