From 61d31335b0e277e7f32e2594906a98ec23a319d8 Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 9 Feb 2009 18:37:29 +0000 Subject: [PATCH] Check for duplicate const/static/inline. git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17101 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- tools/patcheck | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/patcheck b/tools/patcheck index c14de5f2f..ac4de1aea 100755 --- a/tools/patcheck +++ b/tools/patcheck @@ -40,6 +40,7 @@ hiegrep2 '\b_[a-zA-Z0-9_]{1,}' '__(asm|attribute)([^a-zA-Z0-9]|$)' 'reserved ide 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' $* -- 2.39.2