From f88ef390985babdb2b489cf52bfa587e1879db38 Mon Sep 17 00:00:00 2001 From: Aaron Plattner Date: Fri, 7 Mar 2008 12:32:40 -0800 Subject: Bug #14885: Add missing static keywords. --- src/g80_dac.c | 2 +- src/g80_display.c | 6 +++--- src/nv_driver.c | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/g80_dac.c b/src/g80_dac.c index 0d72d9d..404f178 100644 --- a/src/g80_dac.c +++ b/src/g80_dac.c @@ -77,7 +77,7 @@ G80DacDPMSSet(xf86OutputPtr output, int mode) pNv->reg[(0x0061A004+off)/4] = tmp; } -Bool +static Bool G80DacModeFixup(xf86OutputPtr output, DisplayModePtr mode, DisplayModePtr adjusted_mode) { diff --git a/src/g80_display.c b/src/g80_display.c index dda1c7f..2e97e92 100644 --- a/src/g80_display.c +++ b/src/g80_display.c @@ -423,7 +423,7 @@ G80CrtcBlankScreen(xf86CrtcPtr crtc, Bool blank) } } -void +static void G80CrtcDPMSSet(xf86CrtcPtr crtc, int mode) { } @@ -442,12 +442,12 @@ static void G80CrtcShowHideCursor(xf86CrtcPtr crtc, Bool show, Bool update) } } -void G80CrtcShowCursor(xf86CrtcPtr crtc) +static void G80CrtcShowCursor(xf86CrtcPtr crtc) { G80CrtcShowHideCursor(crtc, TRUE, TRUE); } -void G80CrtcHideCursor(xf86CrtcPtr crtc) +static void G80CrtcHideCursor(xf86CrtcPtr crtc) { G80CrtcShowHideCursor(crtc, FALSE, TRUE); } diff --git a/src/nv_driver.c b/src/nv_driver.c index e151bb4..84c5a5d 100644 --- a/src/nv_driver.c +++ b/src/nv_driver.c @@ -952,7 +952,7 @@ NVSwitchMode(int scrnIndex, DisplayModePtr mode, int flags) return NVModeInit(pScrn, mode); } -Bool +static Bool NVSwitchModeVBE(int scrnIndex, DisplayModePtr mode, int flags) { ScrnInfoPtr pScrn = xf86Screens[scrnIndex]; @@ -1232,7 +1232,7 @@ NVModesAdd(DisplayModePtr Modes, DisplayModePtr Additions) } /* Mandatory */ -Bool +static Bool NVPreInit(ScrnInfoPtr pScrn, int flags) { NVPtr pNv; @@ -2016,7 +2016,7 @@ NVMapMem(ScrnInfoPtr pScrn) return TRUE; } -Bool +static Bool NVMapMemFBDev(ScrnInfoPtr pScrn) { NVPtr pNv; -- cgit v1.2.3