[PATCH 2/7] Remove redundant redeclarations of functions in the same header file
Alan Coopersmith
alan.coopersmith at oracle.com
Tue Nov 8 12:42:50 PST 2011
Exposed by recent addition of -Wredundant-decls to default CWARNFLAGS
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
hw/xfree86/ddc/xf86DDC.h | 5 -----
randr/randrstr.h | 5 -----
render/glyphstr.h | 3 ---
3 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/hw/xfree86/ddc/xf86DDC.h b/hw/xfree86/ddc/xf86DDC.h
index af3ba06..16a8641 100644
--- a/hw/xfree86/ddc/xf86DDC.h
+++ b/hw/xfree86/ddc/xf86DDC.h
@@ -100,11 +100,6 @@ typedef enum {
DDC_QUIRK_DVI_SINGLE_LINK = 1 << 8,
} ddc_quirk_t;
-DisplayModePtr xf86DDCGetModes(int scrnIndex, xf86MonPtr DDC);
-
-extern Bool
-xf86MonitorIsHDMI(xf86MonPtr mon);
-
typedef void (* handle_detailed_fn)(struct detailed_monitor_section *,void *);
void xf86ForEachDetailedBlock(xf86MonPtr mon,
diff --git a/randr/randrstr.h b/randr/randrstr.h
index d8dd37d..842e0e0 100644
--- a/randr/randrstr.h
+++ b/randr/randrstr.h
@@ -462,9 +462,6 @@ extern _X_EXPORT Bool RRScreenInit(ScreenPtr pScreen);
extern _X_EXPORT RROutputPtr
RRFirstOutput (ScreenPtr pScreen);
-extern _X_EXPORT Rotation
-RRGetRotation (ScreenPtr pScreen);
-
extern _X_EXPORT CARD16
RRVerticalRefresh (xRRModeInfo *mode);
@@ -500,8 +497,6 @@ RRSetCurrentConfig (ScreenPtr pScreen,
int rate,
RRScreenSizePtr pSize);
-extern _X_EXPORT Bool RRScreenInit (ScreenPtr pScreen);
-
extern _X_EXPORT Rotation
RRGetRotation (ScreenPtr pScreen);
diff --git a/render/glyphstr.h b/render/glyphstr.h
index cc9f284..49b4b54 100644
--- a/render/glyphstr.h
+++ b/render/glyphstr.h
@@ -90,9 +90,6 @@ typedef struct _GlyphList {
PictFormatPtr format;
} GlyphListRec, *GlyphListPtr;
-extern _X_EXPORT GlyphHashSetPtr
-FindGlyphHashSet (CARD32 filled);
-
extern _X_EXPORT void
GlyphUninit (ScreenPtr pScreen);
--
1.7.3.2
More information about the xorg-devel
mailing list