From 9e9bf1e477e764b596eb89119c0497b274b87897 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Sun, 21 Dec 2008 16:08:08 +0100 Subject: Hide private functions --- src/XExtInt.c | 10 ++-------- src/XExtToWire.c | 2 +- src/XGetVers.c | 2 +- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/XExtInt.c b/src/XExtInt.c index 0dd8df3..647fc93 100644 --- a/src/XExtInt.c +++ b/src/XExtInt.c @@ -117,13 +117,6 @@ static Bool XInputWireToEvent( xEvent * /* event */ ); -Status _XiEventToWire( - register Display * /* dpy */, - register XEvent * /* re */, - register xEvent ** /* event */, - register int * /* count */ -); - static /* const */ XEvent emptyevent; /* ge events handling */ @@ -158,6 +151,7 @@ static char *XInputErrorList[] = { "BadClass, invalid event class", /* BadClass */ }; +_X_HIDDEN XEXT_GENERATE_FIND_DISPLAY(XInput_find_display, xinput_info, xinput_extension_name, &xinput_extension_hooks, IEVENTS, NULL) @@ -252,7 +246,7 @@ static int XInputCheckExtension(Display *dpy, XExtDisplayInfo *info) * */ -int +_X_HIDDEN int _XiCheckExtInit( register Display *dpy, register int version_index, diff --git a/src/XExtToWire.c b/src/XExtToWire.c index 06cb636..7ab558d 100644 --- a/src/XExtToWire.c +++ b/src/XExtToWire.c @@ -60,7 +60,7 @@ SOFTWARE. #include #include "XIint.h" -Status +_X_HIDDEN Status _XiEventToWire( register Display *dpy, /* pointer to display structure */ register XEvent *re, /* pointer to client event */ diff --git a/src/XGetVers.c b/src/XGetVers.c index 909374a..ff3ec3c 100644 --- a/src/XGetVers.c +++ b/src/XGetVers.c @@ -94,7 +94,7 @@ XQueryInputVersion(Display *dpy, int major, int minor) return (ext); } -XExtensionVersion * +_X_HIDDEN XExtensionVersion * _XiGetExtensionVersion(register Display * dpy, _Xconst char *name, int major, int minor, XExtDisplayInfo *info) { -- cgit v1.2.3