Fixed gcc build after r7751
authorAndrey Kamaev <no@email>
Fri, 30 Mar 2012 14:03:18 +0000 (14:03 +0000)
committerAndrey Kamaev <no@email>
Fri, 30 Mar 2012 14:03:18 +0000 (14:03 +0000)
modules/legacy/src/bgfg_gaussmix.cpp
modules/video/src/bgfg_gaussmix2.cpp

index f3cb98c..d841dd7 100644 (file)
@@ -843,7 +843,7 @@ CV_INLINE int _icvUpdateGMM_C3(float r,float g, float b,
 }
 
 //the main function to update the background model
-void icvUpdatePixelBackgroundGMM2( const CvArr* srcarr, CvArr* dstarr ,
+static void icvUpdatePixelBackgroundGMM2( const CvArr* srcarr, CvArr* dstarr ,
                                   CvPBGMMGaussian *pGMM,
                                   unsigned char *pUsedModes,
                                   //CvGaussBGStatModel2Params* pGMMPar,
index fd42253..ae30855 100644 (file)
@@ -646,7 +646,7 @@ CV_INLINE int _icvUpdateGMM_C3(float r,float g, float b,
 }
 
 //the main function to update the background model
-void icvUpdatePixelBackgroundGMM2( const CvArr* srcarr, CvArr* dstarr ,
+static void icvUpdatePixelBackgroundGMM2( const CvArr* srcarr, CvArr* dstarr ,
                                          CvPBGMMGaussian *pGMM,
                                          unsigned char *pUsedModes,
                                          //CvGaussBGStatModel2Params* pGMMPar,