summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-05-29 19:05:13 -0700
committerKeith Packard <keithp@keithp.com>2016-05-30 00:17:15 -0700
commit2bed654be7001407ae65f7128440340fd3c1f083 (patch)
treefa75606ec0527c91a75cd8bfa90e760260bdf0f2 /dix
parent06bdc3bc1aeca2635d0f711ac7eef34796e28339 (diff)
dix: Remove bogus input_mutex and input_mutex_count definitions from globals.c
These are local to inputthread.c; the ones in globals.c aren't declared in any header file. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix')
-rw-r--r--dix/globals.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/dix/globals.c b/dix/globals.c
index e3139303f..f36a938f7 100644
--- a/dix/globals.c
+++ b/dix/globals.c
@@ -132,12 +132,3 @@ Bool explicit_display = FALSE;
char *ConnectionInfo;
CARD32 TimeOutValue = DEFAULT_TIMEOUT * MILLI_PER_SECOND;
-
-#if DEBUG_INPUT_MUTEX
-#define INPUT_MUTEX_INITIALIZER PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP
-#else
-#define INPUT_MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER
-#endif
-
-pthread_mutex_t input_mutex = INPUT_MUTEX_INITIALIZER;
-__thread int input_mutex_count;