diff options
author | Jesse Barnes <jbarnes@nietzche.virtuousgeek.org> | 2007-01-06 08:21:36 -0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@nietzche.virtuousgeek.org> | 2007-01-06 08:21:36 -0800 |
commit | 4c790f614ecba1f6468e51779cfaf0e36b6b17ad (patch) | |
tree | a2086e8c07ef25b1d3e6d69490886b82d2d24911 /src/i830_tv.c | |
parent | 5a793b0dcf2d5de408b55073858fcfba6d99f994 (diff) |
More sparse cleanups:
NULL vs. 0
make some variables static
remove redundant variables
There are only a few sparse warnings left now: some bitfield warnings
and a few 'mixing code and declarations' warnings from the ring macros.
Diffstat (limited to 'src/i830_tv.c')
-rw-r--r-- | src/i830_tv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_tv.c b/src/i830_tv.c index 5cf36a5a..ad3b2622 100644 --- a/src/i830_tv.c +++ b/src/i830_tv.c @@ -155,7 +155,7 @@ typedef struct { * These values account for -1s required. */ -const tv_mode_t tv_modes[] = { +const static tv_mode_t tv_modes[] = { { .name = "NTSC 480i", .oversample = TV_OVERSAMPLE_8X, @@ -945,7 +945,7 @@ i830_tv_get_modes(xf86OutputPtr output) { ScrnInfoPtr pScrn = output->scrn; I830Ptr pI830 = I830PTR(pScrn); - DisplayModePtr new, first = NULL, *tail = &first;; + DisplayModePtr new, first = NULL, *tail = &first; int i; (void) pI830; |