summaryrefslogtreecommitdiff
path: root/hw/xfree86/dummylib/xalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/dummylib/xalloc.c')
-rw-r--r--hw/xfree86/dummylib/xalloc.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/hw/xfree86/dummylib/xalloc.c b/hw/xfree86/dummylib/xalloc.c
index 52183eaee..77c168f7e 100644
--- a/hw/xfree86/dummylib/xalloc.c
+++ b/hw/xfree86/dummylib/xalloc.c
@@ -12,7 +12,7 @@
* Utility functions required by libxf86_os.
*/
-_X_EXPORT pointer
+pointer
Xalloc(unsigned long n)
{
if (!n)
@@ -20,7 +20,7 @@ Xalloc(unsigned long n)
return malloc(n);
}
-_X_EXPORT pointer
+pointer
Xrealloc(pointer p, unsigned long n)
{
if (!n)
@@ -28,7 +28,7 @@ Xrealloc(pointer p, unsigned long n)
return realloc(p, n);
}
-_X_EXPORT pointer
+pointer
Xcalloc(unsigned long n)
{
pointer r;
@@ -38,7 +38,7 @@ Xcalloc(unsigned long n)
return r;
}
-_X_EXPORT pointer
+pointer
XNFalloc(unsigned long n)
{
pointer r;
@@ -50,7 +50,7 @@ XNFalloc(unsigned long n)
}
-_X_EXPORT pointer
+pointer
XNFrealloc(pointer p, unsigned long n)
{
pointer r;
@@ -62,7 +62,7 @@ XNFrealloc(pointer p, unsigned long n)
}
-_X_EXPORT pointer
+pointer
XNFcalloc(unsigned long n)
{
pointer r;
@@ -74,13 +74,13 @@ XNFcalloc(unsigned long n)
}
-_X_EXPORT void
+void
Xfree(pointer p)
{
free(p);
}
-_X_EXPORT char *
+char *
Xstrdup(const char *s)
{
char *sd;
@@ -94,7 +94,7 @@ Xstrdup(const char *s)
return sd;
}
-_X_EXPORT char *
+char *
XNFstrdup(const char *s)
{
char *sd;