diff options
author | Eric Anholt <eric@anholt.net> | 2009-04-20 14:42:31 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-04-21 15:25:58 -0700 |
commit | 1fc93ee184ceefaea9528bb46ae82884c44d9b36 (patch) | |
tree | 82d7fac54921106fd277a7524e1b3e9bca945718 /src/i965_render.c | |
parent | b2d7928f195f6439ecd140e6280b958b8a1f534b (diff) |
Staticize a bunch of functions and variables in the driver.
This cleans up findstatic.pl output for the i830+ code, which resulted in
removing some code. The only odd part of this commit is the
if (0) i830_sdvo_dump() in i830_sdvo.c -- it tells the compiler that the code
is used, without using it since we want the code around while debugging.
It's also in a likely place to ask for the dump, so I think it's OK.
Diffstat (limited to 'src/i965_render.c')
-rw-r--r-- | src/i965_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i965_render.c b/src/i965_render.c index c123a369..5160d95f 100644 --- a/src/i965_render.c +++ b/src/i965_render.c @@ -431,7 +431,7 @@ typedef enum { #define KERNEL(kernel_enum, kernel, masked) \ [kernel_enum] = {&kernel, sizeof(kernel), masked} -struct wm_kernel_info { +static struct wm_kernel_info { void *data; unsigned int size; Bool has_mask; |