summaryrefslogtreecommitdiff
path: root/Xi
diff options
context:
space:
mode:
authorAdam Jackson <ajax@benzedrine.nwnk.net>2007-03-25 12:27:01 -0400
committerAdam Jackson <ajax@benzedrine.nwnk.net>2007-03-25 12:27:01 -0400
commit9a0f25de7ca3c68af867b38936103d17daa92ac6 (patch)
treec218f5b04f879f6342332618dddb96d6d7b7506c /Xi
parentac2356843e38b3400142bc54b65393c12976fc07 (diff)
Static cleanups, dead code deletion.
Diffstat (limited to 'Xi')
-rw-r--r--Xi/exglobals.h1
-rw-r--r--Xi/extinit.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/Xi/exglobals.h b/Xi/exglobals.h
index 3afd1bb9e..61ebca8c4 100644
--- a/Xi/exglobals.h
+++ b/Xi/exglobals.h
@@ -37,7 +37,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
extern int IReqCode;
extern int BadDevice;
-extern int BadEvent;
extern int BadMode;
extern int DeviceBusy;
extern int BadClass;
diff --git a/Xi/extinit.c b/Xi/extinit.c
index 454883762..d14e133ba 100644
--- a/Xi/extinit.c
+++ b/Xi/extinit.c
@@ -116,7 +116,7 @@ int ExtEventIndex;
Mask ExtValidMasks[EMASKSIZE];
Mask ExtExclusiveMasks[EMASKSIZE];
-struct dev_type
+static struct dev_type
{
Atom type;
char *name;
@@ -152,7 +152,7 @@ XExtEventInfo EventInfo[32];
int IReqCode = 0;
int BadDevice = 0;
-int BadEvent = 1;
+static int BadEvent = 1;
int BadMode = 2;
int DeviceBusy = 3;
int BadClass = 4;