summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-07 18:08:21 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-23 12:15:07 -0800
commit0bc41d5f8d1a6192f57d9bf646cc46ed839b06b9 (patch)
treef46da2d3a454fe79ab99a7322fd2b16fa8c41a1a
parent285133a35eede03e37f41aeea6cbfd15a0800d98 (diff)
Remove redundant redeclarations of functions in the same header file
Exposed by recent addition of -Wredundant-decls to default CWARNFLAGS Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r--hw/xfree86/ddc/xf86DDC.h5
-rw-r--r--randr/randrstr.h5
-rw-r--r--render/glyphstr.h3
3 files changed, 0 insertions, 13 deletions
diff --git a/hw/xfree86/ddc/xf86DDC.h b/hw/xfree86/ddc/xf86DDC.h
index af3ba06a5..16a8641c6 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 d8dd37d96..842e0e05b 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 cc9f2843f..49b4b54dd 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);