Blob Blame Raw
--- libXdmcp-1.0.2/Alloc.c.jx	2006-07-11 14:05:09.000000000 -0400
+++ libXdmcp-1.0.2/Alloc.c	2006-11-20 15:28:25.000000000 -0500
@@ -38,9 +38,10 @@
 #include <X11/X.h>
 #include <X11/Xmd.h>
 #include <X11/Xdmcp.h>
+#include <X11/Xfuncproto.h>
 #include <stdlib.h>
 
-void *
+_X_HIDDEN void *
 Xalloc (unsigned long amount)
 {
     if (amount == 0)
@@ -48,7 +49,7 @@
     return malloc (amount);
 }
 
-void *
+_X_HIDDEN void *
 Xrealloc (void *old, unsigned long amount)
 {
     if (amount == 0)
@@ -58,7 +59,7 @@
     return realloc ((char *) old, amount);
 }
 
-void
+_X_HIDDEN void
 Xfree (void *old)
 {
     if (old)