aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/dix/swapreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/dix/swapreq.c')
-rw-r--r--xorg-server/dix/swapreq.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/xorg-server/dix/swapreq.c b/xorg-server/dix/swapreq.c
index ad60d17da..5d7d71c8f 100644
--- a/xorg-server/dix/swapreq.c
+++ b/xorg-server/dix/swapreq.c
@@ -51,7 +51,6 @@ SOFTWARE.
#endif
#include <X11/X.h>
-#define NEED_EVENTS
#include <X11/Xproto.h>
#include <X11/Xprotostr.h>
#include "misc.h"
@@ -62,7 +61,7 @@ SOFTWARE.
/* Thanks to Jack Palevich for testing and subsequently rewriting all this */
/* Byte swap a list of longs */
-_X_EXPORT void
+void
SwapLongs (CARD32 *list, unsigned long count)
{
char n;
@@ -88,7 +87,7 @@ SwapLongs (CARD32 *list, unsigned long count)
}
/* Byte swap a list of shorts */
-_X_EXPORT void
+void
SwapShorts (short *list, unsigned long count)
{
char n;
@@ -248,7 +247,7 @@ SProcChangeProperty(ClientPtr client)
return((* ProcVector[X_ChangeProperty])(client));
}
-int
+int
SProcDeleteProperty(ClientPtr client)
{
char n;
@@ -261,7 +260,7 @@ SProcDeleteProperty(ClientPtr client)
}
-int
+int
SProcGetProperty(ClientPtr client)
{
char n;
@@ -853,7 +852,7 @@ SProcFreeColors(ClientPtr client)
}
-_X_EXPORT void
+void
SwapColorItem(xColorItem *pItem)
{
char n;