From f18ef50809256e95c81bc3a47470e7745d3efa0c Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 29 Jun 2007 00:28:32 +0000 Subject: [PATCH] Ignore __attribute__ git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19651 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/def-check.pl | 5 +++++ 1 file changed, 5 insertions(+) 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/) { -- 2.26.2