[FFmpeg-cvslog] r17101 - trunk/tools/patcheck
michael
subversion
Mon Feb 9 19:37:29 CET 2009
Author: michael
Date: Mon Feb 9 19:37:29 2009
New Revision: 17101
Log:
Check for duplicate const/static/inline.
Modified:
trunk/tools/patcheck
Modified: trunk/tools/patcheck
==============================================================================
--- trunk/tools/patcheck Mon Feb 9 16:49:06 2009 (r17100)
+++ trunk/tools/patcheck Mon Feb 9 19:37:29 2009 (r17101)
@@ -40,6 +40,7 @@ hiegrep2 '\b_[a-zA-Z0-9_]{1,}' '__(asm|a
hiegrep '//[-/<\* ]*$' 'empty comment' $*
hiegrep '/\*[-<\* ]*\*/' 'empty comment' $*
hiegrep 'for *\( *'"$ERE_PRITYP"' ' 'not gcc 2.95 compatible' $*
+hiegrep '(static|inline|const) *\1' 'duplicate word' $*
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' $*
More information about the ffmpeg-cvslog
mailing list