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_sdvo.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_sdvo.c')
-rw-r--r-- | src/i830_sdvo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_sdvo.c b/src/i830_sdvo.c index 19b4b934..ea62ad96 100644 --- a/src/i830_sdvo.c +++ b/src/i830_sdvo.c @@ -124,7 +124,7 @@ static Bool i830_sdvo_write_byte(xf86OutputPtr output, #define SDVO_CMD_NAME_ENTRY(cmd) {cmd, #cmd} /** Mapping of command numbers to names, for debug output */ -const struct _sdvo_cmd_name { +const static struct _sdvo_cmd_name { CARD8 cmd; char *name; } sdvo_cmd_names[] = { |