[PATCH 21/25] Remove duplicate declaration of xf86ValidateModesFlags in xf86Modes.h

Alan Coopersmith alan.coopersmith at oracle.com
Sun Dec 11 10:16:34 PST 2011

Clears gcc warning in every file that includes xf86Modes.h:
xf86Modes.h:102:1: warning: redundant redeclaration of 'xf86ValidateModesFlags'
xf86Modes.h:72:1: note: previous declaration of 'xf86ValidateModesFlags' was here

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
 hw/xfree86/modes/xf86Modes.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/hw/xfree86/modes/xf86Modes.h b/hw/xfree86/modes/xf86Modes.h
index c72a935..89ec0d8 100644
--- a/hw/xfree86/modes/xf86Modes.h
+++ b/hw/xfree86/modes/xf86Modes.h
@@ -99,10 +99,6 @@ extern _X_EXPORT DisplayModePtr
 xf86PruneDuplicateModes(DisplayModePtr modes);
 extern _X_EXPORT void
-xf86ValidateModesFlags(ScrnInfoPtr pScrn, DisplayModePtr modeList,
-		       int flags);
-extern _X_EXPORT void
 xf86ValidateModesUserConfig(ScrnInfoPtr pScrn, DisplayModePtr modeList);
 extern _X_EXPORT DisplayModePtr

More information about the xorg-devel mailing list