From 20cf7918ed954a932a4cc404b3d0c4ca87a6ae16 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Tue, 16 Oct 2012 21:08:52 -0500 Subject: [PATCH] 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 Reviewed-by: Peter Hutterer --- Xext/panoramiX.c | 2 -- Xext/xres.c | 2 -- Xext/xtest.c | 2 -- 3 files changed, 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 */