Handle function names immediately preceded by "*", like "*strdup"
authorKen Raeburn <raeburn@mit.edu>
Sat, 20 Jan 2007 12:13:15 +0000 (12:13 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 20 Jan 2007 12:13:15 +0000 (12:13 +0000)
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

index b007c9cecd963c637fcb898cb8d8b20015f80c2f..17327df245f6279cc13c72010e41bdc06df2198f 100644 (file)
@@ -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;