diff options
Diffstat (limited to 'Documentation/video4linux')
-rw-r--r-- | Documentation/video4linux/v4lgrab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/video4linux/v4lgrab.c b/Documentation/video4linux/v4lgrab.c index 05769cff1009..c8ded175796e 100644 --- a/Documentation/video4linux/v4lgrab.c +++ b/Documentation/video4linux/v4lgrab.c | |||
@@ -89,7 +89,7 @@ | |||
89 | } \ | 89 | } \ |
90 | } | 90 | } |
91 | 91 | ||
92 | int get_brightness_adj(unsigned char *image, long size, int *brightness) { | 92 | static int get_brightness_adj(unsigned char *image, long size, int *brightness) { |
93 | long i, tot = 0; | 93 | long i, tot = 0; |
94 | for (i=0;i<size*3;i++) | 94 | for (i=0;i<size*3;i++) |
95 | tot += image[i]; | 95 | tot += image[i]; |