summaryrefslogtreecommitdiff
path: root/test/xi2/protocol-common.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-01-12 10:42:37 -0800
committerKeith Packard <keithp@keithp.com>2014-01-22 19:56:32 -0800
commit7104f0f338fa96824a463331d6099a76ee3c21ac (patch)
treea02f371fd9c2fc43fd2902a66e73d6e02074b315 /test/xi2/protocol-common.h
parent92a9495800cf59b917c30d5fbaf4b7eca10d19cf (diff)
test/xi2: Clean up -Wshadow warnings
protocol-common declares a bunch of pretty generic names; fix shadows of these names. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'test/xi2/protocol-common.h')
-rw-r--r--test/xi2/protocol-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/xi2/protocol-common.h b/test/xi2/protocol-common.h
index d30306886..f8504787f 100644
--- a/test/xi2/protocol-common.h
+++ b/test/xi2/protocol-common.h
@@ -91,7 +91,7 @@ extern struct devices devices;
/**
* test-specific userdata, passed into the reply handler.
*/
-extern void *userdata;
+extern void *global_userdata;
/**
* The reply handler called from WriteToClient. Set this handler if you need