summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2012-10-16 21:08:52 -0500
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2012-11-05 13:25:07 -0600
commit20cf7918ed954a932a4cc404b3d0c4ca87a6ae16 (patch)
tree4894e2b5d2c7e397484a24078d72cf1538b2b05c
parent89447e1b50d2fb0e046102664045d1f9d4efc542 (diff)
Xext: fix redundant redeclaration warnings
panoramiX.c:595:13: warning: redundant redeclaration of 'CreateConnectionBlock' ../include/dix.h:167:23: note: previous declaration of 'CreateConnectionBlock' was here xres.c:193:13: warning: redundant redeclaration of 'ResExtensionInit' ../include/extinit.h:109:13: note: previous declaration of 'ResExtensionInit' xtest.c:60:12: warning: redundant redeclaration of 'DeviceValuator' ../Xi/exglobals.h:61:12: note: previous declaration of 'DeviceValuator' was here Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--Xext/panoramiX.c2
-rw-r--r--Xext/xres.c2
-rw-r--r--Xext/xtest.c2
3 files changed, 0 insertions, 6 deletions
diff --git a/Xext/panoramiX.c b/Xext/panoramiX.c
index 1c7197d5d..be475f7f4 100644
--- a/Xext/panoramiX.c
+++ b/Xext/panoramiX.c
@@ -592,8 +592,6 @@ PanoramiXExtensionInit(void)
}
-extern Bool CreateConnectionBlock(void);
-
Bool
PanoramiXCreateConnectionBlock(void)
{
diff --git a/Xext/xres.c b/Xext/xres.c
index 7d21ad7e9..445abcab8 100644
--- a/Xext/xres.c
+++ b/Xext/xres.c
@@ -190,8 +190,6 @@ DestroyConstructResourceBytesCtx(ConstructResourceBytesCtx *ctx)
ht_destroy(ctx->visitedResources);
}
-extern void ResExtensionInit(void);
-
static int
ProcXResQueryVersion(ClientPtr client)
{
diff --git a/Xext/xtest.c b/Xext/xtest.c
index c593372e7..2abdc7f58 100644
--- a/Xext/xtest.c
+++ b/Xext/xtest.c
@@ -57,8 +57,6 @@
#include "extinit.h"
-extern int DeviceValuator;
-
/* XTest events are sent during request processing and may be interruped by
* a SIGIO. We need a separate event list to avoid events overwriting each
* other's memory */