summaryrefslogtreecommitdiff
path: root/Xext/shm.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-08-24 14:02:35 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-08-24 14:02:35 +0200
commit6085522d91e875c0e1ab8d4300e7378701c19b7c (patch)
tree075f7340284259d9f33610d171eaf571ab4cac92 /Xext/shm.c
parentc19f227b468d039c5ea136cc8a53c420da30263b (diff)
Export fbShmPutImage to modules.
To be used by EXA.
Diffstat (limited to 'Xext/shm.c')
-rw-r--r--Xext/shm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xext/shm.c b/Xext/shm.c
index 9d82a2152..7fa834952 100644
--- a/Xext/shm.c
+++ b/Xext/shm.c
@@ -57,6 +57,7 @@ in this Software without prior written authorization from The Open Group.
#include "gcstruct.h"
#include "extnsionst.h"
#include "servermd.h"
+#include "shmint.h"
#define _XSHM_SERVER_
#include <X11/extensions/shmstr.h>
#include <X11/Xfuncproto.h>
@@ -78,7 +79,6 @@ typedef struct _ShmDesc {
} ShmDescRec, *ShmDescPtr;
static void miShmPutImage(XSHM_PUT_IMAGE_ARGS);
-static void fbShmPutImage(XSHM_PUT_IMAGE_ARGS);
static PixmapPtr fbShmCreatePixmap(XSHM_CREATE_PIXMAP_ARGS);
static int ShmDetachSegment(
pointer /* value */,
@@ -510,7 +510,7 @@ miShmPutImage(dst, pGC, depth, format, w, h, sx, sy, sw, sh, dx, dy, data)
(*pmap->drawable.pScreen->DestroyPixmap)(pmap);
}
-static void
+_X_EXPORT void
fbShmPutImage(dst, pGC, depth, format, w, h, sx, sy, sw, sh, dx, dy, data)
DrawablePtr dst;
GCPtr pGC;