From 9cd05dd39f5224cefb2376ee8f2106693cd49633 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sat, 20 Jan 2007 12:13:15 +0000 Subject: [PATCH] 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 --- src/util/def-check.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.26.2