summaryrefslogtreecommitdiff
path: root/hw/xfree86/dummylib
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/dummylib')
-rw-r--r--hw/xfree86/dummylib/xf86addrestolist.c6
-rw-r--r--hw/xfree86/dummylib/xf86allocscripi.c2
-rw-r--r--hw/xfree86/dummylib/xf86drvmsg.c2
-rw-r--r--hw/xfree86/dummylib/xf86drvmsgverb.c2
-rw-r--r--hw/xfree86/dummylib/xf86errorf.c2
-rw-r--r--hw/xfree86/dummylib/xf86errorfverb.c2
-rw-r--r--hw/xfree86/dummylib/xf86getpagesize.c2
-rw-r--r--hw/xfree86/dummylib/xf86getverb.c2
-rw-r--r--hw/xfree86/dummylib/xf86msg.c2
-rw-r--r--hw/xfree86/dummylib/xf86msgverb.c2
-rw-r--r--hw/xfree86/dummylib/xf86opt.c4
-rw-r--r--hw/xfree86/dummylib/xf86screens.c2
12 files changed, 15 insertions, 15 deletions
diff --git a/hw/xfree86/dummylib/xf86addrestolist.c b/hw/xfree86/dummylib/xf86addrestolist.c
index fe21d5cab..86b8d5243 100644
--- a/hw/xfree86/dummylib/xf86addrestolist.c
+++ b/hw/xfree86/dummylib/xf86addrestolist.c
@@ -6,19 +6,19 @@
#include "xf86.h"
-resPtr
+_X_EXPORT resPtr
xf86AddResToList(resPtr rlist, resRange *Range, int entityIndex)
{
return rlist;
}
-void
+_X_EXPORT void
xf86FreeResList(resPtr rlist)
{
return;
}
-resPtr
+_X_EXPORT resPtr
xf86DupResList(const resPtr rlist)
{
return rlist;
diff --git a/hw/xfree86/dummylib/xf86allocscripi.c b/hw/xfree86/dummylib/xf86allocscripi.c
index 9d9e72154..8abad9fa5 100644
--- a/hw/xfree86/dummylib/xf86allocscripi.c
+++ b/hw/xfree86/dummylib/xf86allocscripi.c
@@ -13,7 +13,7 @@
* Utility functions required by libxf86_os.
*/
-int
+_X_EXPORT int
xf86AllocateScrnInfoPrivateIndex()
{
return -1;
diff --git a/hw/xfree86/dummylib/xf86drvmsg.c b/hw/xfree86/dummylib/xf86drvmsg.c
index 40f956594..13c8c0bc5 100644
--- a/hw/xfree86/dummylib/xf86drvmsg.c
+++ b/hw/xfree86/dummylib/xf86drvmsg.c
@@ -13,7 +13,7 @@
* Utility functions required by libxf86_os.
*/
-void
+_X_EXPORT void
xf86DrvMsg(int i, MessageType type, const char *format, ...)
{
va_list ap;
diff --git a/hw/xfree86/dummylib/xf86drvmsgverb.c b/hw/xfree86/dummylib/xf86drvmsgverb.c
index 04cbf59da..1320117fc 100644
--- a/hw/xfree86/dummylib/xf86drvmsgverb.c
+++ b/hw/xfree86/dummylib/xf86drvmsgverb.c
@@ -13,7 +13,7 @@
* Utility functions required by libxf86_os.
*/
-void
+_X_EXPORT void
xf86DrvMsgVerb(int i, MessageType type, int verb, const char *format, ...)
{
va_list ap;
diff --git a/hw/xfree86/dummylib/xf86errorf.c b/hw/xfree86/dummylib/xf86errorf.c
index 4ad677413..41ebbee21 100644
--- a/hw/xfree86/dummylib/xf86errorf.c
+++ b/hw/xfree86/dummylib/xf86errorf.c
@@ -13,7 +13,7 @@
* Utility functions required by libxf86_os.
*/
-void
+_X_EXPORT void
xf86ErrorF(const char *format, ...)
{
va_list ap;
diff --git a/hw/xfree86/dummylib/xf86errorfverb.c b/hw/xfree86/dummylib/xf86errorfverb.c
index 65399e334..398d0b3c3 100644
--- a/hw/xfree86/dummylib/xf86errorfverb.c
+++ b/hw/xfree86/dummylib/xf86errorfverb.c
@@ -13,7 +13,7 @@
* Utility functions required by libxf86_os.
*/
-void
+_X_EXPORT void
xf86ErrorFVerb(int verb, const char *format, ...)
{
va_list ap;
diff --git a/hw/xfree86/dummylib/xf86getpagesize.c b/hw/xfree86/dummylib/xf86getpagesize.c
index 439b63ac9..ec13c9b41 100644
--- a/hw/xfree86/dummylib/xf86getpagesize.c
+++ b/hw/xfree86/dummylib/xf86getpagesize.c
@@ -15,7 +15,7 @@
int xf86getpagesize(void);
-int
+_X_EXPORT int
xf86getpagesize(void)
{
return 4096; /* not used */
diff --git a/hw/xfree86/dummylib/xf86getverb.c b/hw/xfree86/dummylib/xf86getverb.c
index 24046af67..dae6c68d7 100644
--- a/hw/xfree86/dummylib/xf86getverb.c
+++ b/hw/xfree86/dummylib/xf86getverb.c
@@ -13,7 +13,7 @@
* Utility functions required by libxf86_os.
*/
-int
+_X_EXPORT int
xf86GetVerbosity()
{
return xf86Verbose;
diff --git a/hw/xfree86/dummylib/xf86msg.c b/hw/xfree86/dummylib/xf86msg.c
index 919625ead..08cb5da80 100644
--- a/hw/xfree86/dummylib/xf86msg.c
+++ b/hw/xfree86/dummylib/xf86msg.c
@@ -13,7 +13,7 @@
* Utility functions required by libxf86_os.
*/
-void
+_X_EXPORT void
xf86Msg(MessageType type, const char *format, ...)
{
va_list ap;
diff --git a/hw/xfree86/dummylib/xf86msgverb.c b/hw/xfree86/dummylib/xf86msgverb.c
index a54c8a565..ffad8c7cb 100644
--- a/hw/xfree86/dummylib/xf86msgverb.c
+++ b/hw/xfree86/dummylib/xf86msgverb.c
@@ -13,7 +13,7 @@
* Utility functions required by libxf86_os.
*/
-void
+_X_EXPORT void
xf86MsgVerb(MessageType type, int verb, const char *format, ...)
{
va_list ap;
diff --git a/hw/xfree86/dummylib/xf86opt.c b/hw/xfree86/dummylib/xf86opt.c
index 45779054a..e46c00b69 100644
--- a/hw/xfree86/dummylib/xf86opt.c
+++ b/hw/xfree86/dummylib/xf86opt.c
@@ -13,12 +13,12 @@
* Utility functions required by libxf86_os.
*/
-void
+_X_EXPORT void
xf86ProcessOptions(int i, pointer p, OptionInfoPtr o)
{
}
-Bool
+_X_EXPORT Bool
xf86GetOptValBool(const OptionInfoRec *o, int i, Bool *b)
{
return FALSE;
diff --git a/hw/xfree86/dummylib/xf86screens.c b/hw/xfree86/dummylib/xf86screens.c
index dfd9d8a1a..32a35ef91 100644
--- a/hw/xfree86/dummylib/xf86screens.c
+++ b/hw/xfree86/dummylib/xf86screens.c
@@ -10,5 +10,5 @@
#include "xf86Priv.h"
/* Dummy variables */
-ScrnInfoPtr *xf86Screens = NULL;
+_X_EXPORT ScrnInfoPtr *xf86Screens = NULL;