Check for INIT_VLC_USE_STATIC
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 27 Mar 2009 03:03:50 +0000 (03:03 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 27 Mar 2009 03:03:50 +0000 (03:03 +0000)
Originally committed as revision 18200 to svn://svn.ffmpeg.org/ffmpeg/trunk

tools/patcheck

index ab1e237..9f5be82 100755 (executable)
@@ -41,6 +41,7 @@ hiegrep '//[-/<\* ]*$'    'empty comment' $*
 hiegrep '/\*[-<\* ]*\*/'  'empty comment' $*
 hiegrep 'for *\( *'"$ERE_PRITYP"' '  'not gcc 2.95 compatible' $*
 hiegrep '(static|inline|const) *\1'  'duplicate word' $*
+hiegrep 'INIT_VLC_USE_STATIC' 'forbidden ancient vlc type' $*
 
 hiegrep2 '(int|unsigned|static|void)[a-zA-Z0-9 _]*(init|end)[a-zA-Z0-9 _]*\(.*[^;]$' '(av_cold|:\+[^a-zA-Z_])' 'These functions may need av_cold, please review the whole patch for similar functions needing av_cold' $*