aboutsummaryrefslogtreecommitdiff
path: root/src/util/def-check.pl
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2007-01-20 12:13:15 +0000
committerKen Raeburn <raeburn@mit.edu>2007-01-20 12:13:15 +0000
commit9cd05dd39f5224cefb2376ee8f2106693cd49633 (patch)
tree6c206c4fbd96a4e102688345b3d7dff4bfbb70db /src/util/def-check.pl
parent6002aef21cecc69d7dd7b69e594115dba6c684c5 (diff)
downloadkrb5-9cd05dd39f5224cefb2376ee8f2106693cd49633.zip
krb5-9cd05dd39f5224cefb2376ee8f2106693cd49633.tar.gz
krb5-9cd05dd39f5224cefb2376ee8f2106693cd49633.tar.bz2
Handle function names immediately preceded by "*", like "*strdup"
in k5-int.h+krb5.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19085 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/def-check.pl')
-rw-r--r--src/util/def-check.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/def-check.pl b/src/util/def-check.pl
index b007c9c..17327df 100644
--- a/src/util/def-check.pl
+++ b/src/util/def-check.pl
@@ -165,7 +165,7 @@ while (! $h->eof()) {
goto Hadcallc;
}
# deal with no CALLCONV indicator
- s/^.* (\w+) *$/$1/;
+ s/^.* \**(\w+) *$/$1/;
die "Invalid function name: '$_'" if (!/^[A-Za-z0-9_]+$/);
push @convD, $_;
push @vararg, $_ if $vararg;