summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2007-06-29 00:28:32 +0000
committerKen Raeburn <raeburn@mit.edu>2007-06-29 00:28:32 +0000
commitf18ef50809256e95c81bc3a47470e7745d3efa0c (patch)
tree23f8750e0cd4be891c7ded2dccdec5da65b83e7a /src
parente3e4fc4f58e0b55a910465db1d2437be69dff531 (diff)
downloadkrb5-f18ef50809256e95c81bc3a47470e7745d3efa0c.tar.gz
krb5-f18ef50809256e95c81bc3a47470e7745d3efa0c.tar.xz
krb5-f18ef50809256e95c81bc3a47470e7745d3efa0c.zip
Ignore __attribute__
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19651 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/util/def-check.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/def-check.pl b/src/util/def-check.pl
index 17327df245..a6dd210f5e 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/) {