From: Ken Raeburn Date: Sat, 20 Jan 2007 12:13:15 +0000 (+0000) Subject: Handle function names immediately preceded by "*", like "*strdup" X-Git-Tag: krb5-1.7-alpha1~1340 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9cd05dd39f5224cefb2376ee8f2106693cd49633;p=krb5.git 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 --- diff --git a/src/util/def-check.pl b/src/util/def-check.pl index b007c9cec..17327df24 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;