minor warning fixes
authorMarina Kolpakova <no@email>
Sat, 9 Jun 2012 15:24:36 +0000 (15:24 +0000)
committerMarina Kolpakova <no@email>
Sat, 9 Jun 2012 15:24:36 +0000 (15:24 +0000)
modules/highgui/src/cap_v4l.cpp

index 5f9e111..e76cce9 100644 (file)
@@ -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;