aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/Xext/xvmcext.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/Xext/xvmcext.h')
-rw-r--r--xorg-server/Xext/xvmcext.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/xorg-server/Xext/xvmcext.h b/xorg-server/Xext/xvmcext.h
index 9c019fee6..5b431260f 100644
--- a/xorg-server/Xext/xvmcext.h
+++ b/xorg-server/Xext/xvmcext.h
@@ -101,15 +101,18 @@ typedef struct {
XvMCDestroySubpictureProcPtr DestroySubpicture;
} XvMCAdaptorRec, *XvMCAdaptorPtr;
-void XvMCExtensionInit(void);
+#ifndef XorgLoader
+extern _X_EXPORT void XvMCExtensionInit(void);
-int XvMCScreenInit(ScreenPtr pScreen, int num, XvMCAdaptorPtr adapt);
+extern _X_EXPORT int XvMCScreenInit(ScreenPtr pScreen,
+ int num,
+ XvMCAdaptorPtr adapt);
-XvImagePtr XvMCFindXvImage(XvPortPtr pPort, CARD32 id);
+extern _X_EXPORT XvImagePtr XvMCFindXvImage(XvPortPtr pPort, CARD32 id);
-int xf86XvMCRegisterDRInfo(ScreenPtr pScreen, char *name,
+extern _X_EXPORT int xf86XvMCRegisterDRInfo(ScreenPtr pScreen, char *name,
char *busID, int major, int minor,
int patchLevel);
-
+#endif
#endif /* _XVMC_H */