summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2008-12-21 16:08:08 +0100
committerJulien Cristau <jcristau@debian.org>2008-12-21 16:08:08 +0100
commit9e9bf1e477e764b596eb89119c0497b274b87897 (patch)
treef93b8d84ae048873d3eb9b43a99420b3015d7022
parentdb1215bf4785acb20610a7f1302e8dc3ec4d19e0 (diff)
Hide private functions
-rw-r--r--src/XExtInt.c10
-rw-r--r--src/XExtToWire.c2
-rw-r--r--src/XGetVers.c2
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 <X11/extensions/geproto.h>
#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)
{