X-Git-Url: https://git.libav.org/?p=libav.git;a=blobdiff_plain;f=tools%2Fpatcheck;h=9f5be8202b8f368dc67ee99357d9ecd1c77ca5a8;hp=ab1e237552cf8ffac79a489ad105930de4396b82;hb=497559ec90bf9b81d09fe1a89875d0a1d98b2cbe;hpb=f11c9ee996e1a73b8a9f0550d7bbd1695db94cea diff --git a/tools/patcheck b/tools/patcheck index ab1e237552..9f5be8202b 100755 --- a/tools/patcheck +++ b/tools/patcheck @@ -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' $*