projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3e4fc4
)
Ignore __attribute__
author
Ken Raeburn
<raeburn@mit.edu>
Fri, 29 Jun 2007 00:28:32 +0000
(
00:28
+0000)
committer
Ken Raeburn
<raeburn@mit.edu>
Fri, 29 Jun 2007 00:28:32 +0000
(
00:28
+0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19651
dc483132
-0cff-0310-8789-
dd5450dbe970
src/util/def-check.pl
patch
|
blob
|
history
diff --git
a/src/util/def-check.pl
b/src/util/def-check.pl
index 17327df245f6279cc13c72010e41bdc06df2198f..a6dd210f5e83d5654fd1b967b287a6704550fc2f 100644
(file)
--- 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/) {