summaryrefslogtreecommitdiff
path: root/decode_lbx.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-05-06 19:42:47 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-05-06 21:44:36 -0700
commitaec53bc090ef6b63e16efebab3f8c8e6f329eb6b (patch)
tree549e13d5a09d341e4e3bddb16fa051b4a7f6dd22 /decode_lbx.c
parent02906bf1766ad1769e03f9372611087389ee23b0 (diff)
downloadxscope-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_lbx.c')
-rw-r--r--decode_lbx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/decode_lbx.c b/decode_lbx.c
index fc7e7f2..dd74657 100644
--- a/decode_lbx.c
+++ b/decode_lbx.c
@@ -30,8 +30,7 @@
#include "scope.h"
#include "x11.h"
#include "lbxscope.h"
-
-unsigned char LookForLBXFlag;
+#include "extensions.h"
unsigned char LBXRequest, LBXEvent, LBXError;
@@ -129,7 +128,6 @@ InitializeLBX (
LBXRequest = (unsigned char)(buf[9]);
LBXEvent = (unsigned char)(buf[10]);
LBXError = (unsigned char)(buf[11]);
- LookForLBXFlag = 0;
DefineEValue (&TD[REQUEST], (unsigned long) LBXRequest, "LbxRequest");
DefineEValue (&TD[REPLY], (unsigned long) LBXRequest, "LbxReply");