summaryrefslogtreecommitdiff
path: root/Xext/shm.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-01-18 21:43:40 -0800
committerKeith Packard <keithp@keithp.com>2013-10-31 16:57:57 -0700
commit7710f2b927ec8e3c631f72d66d494b523377b48e (patch)
treef5fb0ccb0a55fdd89e01f06086fc2373dddae930 /Xext/shm.c
parent2eedf42c229e2251035d716a96b654222155cd51 (diff)
Xext: Move MIT-SHM 'ShmDesc' to shmint.h
This data structure is required to use shared memory objects in any extension. That includes the Xv extension, which (before this patch) duplicated the definition of this structure in its own code. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'Xext/shm.c')
-rw-r--r--Xext/shm.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/Xext/shm.c b/Xext/shm.c
index 55960907b..f6995ccfb 100644
--- a/Xext/shm.c
+++ b/Xext/shm.c
@@ -89,15 +89,6 @@ in this Software without prior written authorization from The Open Group.
#include "extinit.h"
-typedef struct _ShmDesc {
- struct _ShmDesc *next;
- int shmid;
- int refcnt;
- char *addr;
- Bool writable;
- unsigned long size;
-} ShmDescRec, *ShmDescPtr;
-
typedef struct _ShmScrPrivateRec {
CloseScreenProcPtr CloseScreen;
ShmFuncsPtr shmFuncs;