diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:48 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:48 +0000 |
commit | 6b0dceb5b6027c98e478467576cf61aee1d87074 (patch) | |
tree | 19499806f6f350acebae7810f1062bb4858e52e5 /src/XLbx.c | |
parent | 0d3d2607404af7f6e059fab64caea39dc34e391e (diff) | |
download | xorg-lib-libXext-6b0dceb5b6027c98e478467576cf61aee1d87074.tar.gz |
XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1
Diffstat (limited to 'src/XLbx.c')
-rw-r--r-- | src/XLbx.c | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -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); |