summaryrefslogtreecommitdiff
path: root/Xext/shm.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xext/shm.c')
-rw-r--r--Xext/shm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Xext/shm.c b/Xext/shm.c
index a48d2bd5b..de364be3a 100644
--- a/Xext/shm.c
+++ b/Xext/shm.c
@@ -132,9 +132,9 @@ static DISPATCH_PROC(SProcShmPutImage);
static DISPATCH_PROC(SProcShmQueryVersion);
static unsigned char ShmReqCode;
-_X_EXPORT int ShmCompletionCode;
-_X_EXPORT int BadShmSegCode;
-_X_EXPORT RESTYPE ShmSegType;
+int ShmCompletionCode;
+int BadShmSegCode;
+RESTYPE ShmSegType;
static ShmDescPtr Shmsegs;
static Bool sharedPixmaps;
static ShmFuncsPtr shmFuncs[MAXSCREENS];
@@ -271,7 +271,7 @@ ShmResetProc(ExtensionEntry *extEntry)
}
}
-_X_EXPORT void
+void
ShmRegisterFuncs(ScreenPtr pScreen, ShmFuncsPtr funcs)
{
shmFuncs[pScreen->myNum] = funcs;
@@ -298,7 +298,7 @@ ShmDestroyPixmap (PixmapPtr pPixmap)
return ret;
}
-_X_EXPORT void
+void
ShmRegisterFbFuncs(ScreenPtr pScreen)
{
shmFuncs[pScreen->myNum] = &fbFuncs;