diff --git a/modules/highgui/src/cap_v4l.cpp b/modules/highgui/src/cap_v4l.cpp index 5f9e111d9..e76cce919 100644 --- a/modules/highgui/src/cap_v4l.cpp +++ b/modules/highgui/src/cap_v4l.cpp @@ -1736,7 +1736,7 @@ mjpeg_to_rgb24 (int width, int height, * */ -void bayer2rgb24(long int WIDTH, long int HEIGHT, unsigned char *src, unsigned char *dst) +static void bayer2rgb24(long int WIDTH, long int HEIGHT, unsigned char *src, unsigned char *dst) { long int i; unsigned char *rawpt, *scanpt; @@ -1814,7 +1814,7 @@ void bayer2rgb24(long int WIDTH, long int HEIGHT, unsigned char *src, unsigned c // at least for 046d:092f Logitech, Inc. QuickCam Express Plus to work //see: http://www.siliconimaging.com/RGB%20Bayer.htm //and 4.6 at http://tldp.org/HOWTO/html_single/libdc1394-HOWTO/ -void sgbrg2rgb24(long int WIDTH, long int HEIGHT, unsigned char *src, unsigned char *dst) +static void sgbrg2rgb24(long int WIDTH, long int HEIGHT, unsigned char *src, unsigned char *dst) { long int i; unsigned char *rawpt, *scanpt; @@ -1921,7 +1921,7 @@ static int init_done = 0; present at the MSB of byte x. */ -void sonix_decompress_init(void) +static void sonix_decompress_init(void) { int i; int is_abs, val, len; @@ -1999,7 +1999,7 @@ void sonix_decompress_init(void) Returns <0 if operation failed. */ -int sonix_decompress(int width, int height, unsigned char *inp, unsigned char *outp) +static int sonix_decompress(int width, int height, unsigned char *inp, unsigned char *outp) { int row, col; int val;