diff options
Diffstat (limited to 'hw/xfree86/dummylib')
-rw-r--r-- | hw/xfree86/dummylib/fatalerror.c | 2 | ||||
-rw-r--r-- | hw/xfree86/dummylib/logvwrite.c | 2 | ||||
-rw-r--r-- | hw/xfree86/dummylib/verrorf.c | 2 | ||||
-rw-r--r-- | hw/xfree86/dummylib/xalloc.c | 16 | ||||
-rw-r--r-- | hw/xfree86/dummylib/xf86errorf.c | 2 |
5 files changed, 12 insertions, 12 deletions
diff --git a/hw/xfree86/dummylib/fatalerror.c b/hw/xfree86/dummylib/fatalerror.c index 6e7d035df..c66ee3329 100644 --- a/hw/xfree86/dummylib/fatalerror.c +++ b/hw/xfree86/dummylib/fatalerror.c @@ -13,7 +13,7 @@ * Utility functions required by libxf86_os. */ -void +_X_EXPORT void FatalError(const char *f, ...) { va_list args; diff --git a/hw/xfree86/dummylib/logvwrite.c b/hw/xfree86/dummylib/logvwrite.c index 1a36f4912..516380707 100644 --- a/hw/xfree86/dummylib/logvwrite.c +++ b/hw/xfree86/dummylib/logvwrite.c @@ -13,7 +13,7 @@ * Utility functions required by libxf86_os. */ -void +_X_EXPORT void LogVWrite(int verb, const char *format, va_list ap) { if (xf86Verbose >= verb) diff --git a/hw/xfree86/dummylib/verrorf.c b/hw/xfree86/dummylib/verrorf.c index 7d6e8f81b..ae692bdc6 100644 --- a/hw/xfree86/dummylib/verrorf.c +++ b/hw/xfree86/dummylib/verrorf.c @@ -13,7 +13,7 @@ * Utility functions required by libxf86_os. */ -void +_X_EXPORT void VErrorF(const char *f, va_list args) { vfprintf(stderr, f, args); diff --git a/hw/xfree86/dummylib/xalloc.c b/hw/xfree86/dummylib/xalloc.c index 48a346866..a78250f2b 100644 --- a/hw/xfree86/dummylib/xalloc.c +++ b/hw/xfree86/dummylib/xalloc.c @@ -13,7 +13,7 @@ * Utility functions required by libxf86_os. */ -pointer +_X_EXPORT pointer Xalloc(unsigned long n) { if (!n) @@ -21,7 +21,7 @@ Xalloc(unsigned long n) return malloc(n); } -pointer +_X_EXPORT pointer Xrealloc(pointer p, unsigned long n) { if (!n) @@ -29,7 +29,7 @@ Xrealloc(pointer p, unsigned long n) return realloc(p, n); } -pointer +_X_EXPORT pointer Xcalloc(unsigned long n) { pointer r; @@ -39,7 +39,7 @@ Xcalloc(unsigned long n) return r; } -pointer +_X_EXPORT pointer XNFalloc(unsigned long n) { pointer r; @@ -51,7 +51,7 @@ XNFalloc(unsigned long n) } -pointer +_X_EXPORT pointer XNFrealloc(pointer p, unsigned long n) { pointer r; @@ -63,7 +63,7 @@ XNFrealloc(pointer p, unsigned long n) } -pointer +_X_EXPORT pointer XNFcalloc(unsigned long n) { pointer r; @@ -75,13 +75,13 @@ XNFcalloc(unsigned long n) } -void +_X_EXPORT void Xfree(pointer p) { free(p); } -char * +_X_EXPORT char * Xstrdup(const char *s) { char *sd; diff --git a/hw/xfree86/dummylib/xf86errorf.c b/hw/xfree86/dummylib/xf86errorf.c index 6648eaf7c..4ad677413 100644 --- a/hw/xfree86/dummylib/xf86errorf.c +++ b/hw/xfree86/dummylib/xf86errorf.c @@ -23,7 +23,7 @@ xf86ErrorF(const char *format, ...) va_end(ap); } -void +_X_EXPORT void ErrorF(const char *format, ...) { va_list ap; |