summaryrefslogtreecommitdiff
path: root/include/swapreq.h
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:29:01 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:29:01 +0000
commitadc7f9a4ebdfe11d4cd6de9388b63dfe36450b39 (patch)
tree23eb7becc5360b2cbe16aa8d45529880067f3989 /include/swapreq.h
parent90f1536dd315cd265bfc7ef35058761a65a01734 (diff)
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16
Diffstat (limited to 'include/swapreq.h')
-rw-r--r--include/swapreq.h38
1 files changed, 9 insertions, 29 deletions
diff --git a/include/swapreq.h b/include/swapreq.h
index 5946b2261..59ba8c5be 100644
--- a/include/swapreq.h
+++ b/include/swapreq.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/programs/Xserver/include/swapreq.h,v 1.2 2001/04/05 17:42:35 dawes Exp $ */
+/* $XFree86: xc/programs/Xserver/include/swapreq.h,v 1.4 2003/11/17 22:20:43 dawes Exp $ */
/************************************************************
Copyright 1996 by Thomas E. Dickey <dickey@clark.net>
@@ -29,44 +29,24 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* The first two are in misc.h */
#if 0
-void
-SwapLongs (
-#if NeedFunctionPrototypes
+extern void SwapLongs (
CARD32 * /* list */,
- unsigned long /* count */
-#endif
-);
+ unsigned long /* count */);
-void
-SwapShorts (
-#if NeedFunctionPrototypes
+extern void SwapShorts (
short * /* list */,
- unsigned long /* count */
-#endif
-);
+ unsigned long /* count */);
#endif
-void
-SwapColorItem(
-#if NeedFunctionPrototypes
- xColorItem * /* pItem */
-#endif
-);
+extern void SwapColorItem(
+ xColorItem * /* pItem */);
-void
-SwapConnClientPrefix(
-#if NeedFunctionPrototypes
- xConnClientPrefix * /* pCCP */
-#endif
-);
+extern void SwapConnClientPrefix(
+ xConnClientPrefix * /* pCCP */);
#undef SWAPREQ_PROC
-#if NeedFunctionPrototypes
#define SWAPREQ_PROC(func) int func(ClientPtr /* client */)
-#else
-#define SWAPREQ_PROC(func) int func(/* ClientPtr client */)
-#endif
SWAPREQ_PROC(SProcAllocColor);
SWAPREQ_PROC(SProcAllocColorCells);