From: Ken Raeburn Date: Fri, 29 Jun 2007 00:28:32 +0000 (+0000) Subject: Ignore __attribute__ X-Git-Tag: krb5-1.7-alpha1~1043 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f18ef50809256e95c81bc3a47470e7745d3efa0c;p=krb5.git Ignore __attribute__ git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19651 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/def-check.pl b/src/util/def-check.pl index 17327df24..a6dd210f5 100644 --- a/src/util/def-check.pl +++ b/src/util/def-check.pl @@ -142,6 +142,11 @@ while (! $h->eof()) { s/ *\([^\(\)]*\)//g; goto Striparg; } + # Also strip out attributes, or what's left over of them. + if (/__attribute__/) { + s/[ \t]*__attribute__[ \t]*//g; + goto Striparg; + } # replace return type etc with one token indicating calling convention if (/CALLCONV/) { if (/\bKRB5_CALLCONV_WRONG\b/) {