diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-05-06 19:42:47 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-05-06 21:44:36 -0700 |
commit | aec53bc090ef6b63e16efebab3f8c8e6f329eb6b (patch) | |
tree | 549e13d5a09d341e4e3bddb16fa051b4a7f6dd22 /decode_shm.c | |
parent | 02906bf1766ad1769e03f9372611087389ee23b0 (diff) | |
download | xscope-aec53bc090ef6b63e16efebab3f8c8e6f329eb6b.tar.gz |
Report names for all extensions, not just those we know
Move extension handling to new extensions.c & extensions.h files
Start to make extension handling more generic/modular/extendable
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'decode_shm.c')
-rw-r--r-- | decode_shm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/decode_shm.c b/decode_shm.c index 4c2876e..938c770 100644 --- a/decode_shm.c +++ b/decode_shm.c @@ -29,8 +29,7 @@ #include "scope.h" #include "x11.h" #include "shmscope.h" - -unsigned char LookForMITSHMFlag; +#include "extensions.h" unsigned char MITSHMRequest, MITSHMError, MITSHMEvent; @@ -97,7 +96,6 @@ InitializeMITSHM ( MITSHMRequest = (unsigned char)(buf[9]); MITSHMEvent = (unsigned char)(buf[10]); MITSHMError = (unsigned char)(buf[11]); - LookForMITSHMFlag = 0; DefineEValue (&TD[REQUEST], (unsigned long) MITSHMRequest, "MitshmRequest"); DefineEValue (&TD[REPLY], (unsigned long) MITSHMRequest, "MitshmReply"); |