diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2008-03-07 12:32:40 -0800 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2008-03-07 12:38:01 -0800 |
commit | f88ef390985babdb2b489cf52bfa587e1879db38 (patch) | |
tree | fcc69387629547041ee4bba8f31494a220be76b4 /src | |
parent | 4965498f238fbe3d8a0d0b84bf8bceb9237e472a (diff) |
Bug #14885: Add missing static keywords.
Diffstat (limited to 'src')
-rw-r--r-- | src/g80_dac.c | 2 | ||||
-rw-r--r-- | src/g80_display.c | 6 | ||||
-rw-r--r-- | 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; |