+2004-12-21 Tom Yu <tlyu@mit.edu>
+
+ * def-check.pl: Check for PRIVATE or INTERNAL annotations in defs
+ file.
+
2004-10-31 Tom Yu <tlyu@mit.edu>
* mkrel: Rework quoting for RELTAIL check. Don't check RELTAIL if
}
s/[ \t]*//g;
my($xconv);
- if (/!CALLCONV/ || /KRB5_CALLCONV_WRONG/) {
+ if (/PRIVATE/ || /INTERNAL/) {
+ $xconv = "PRIVATE";
+ } elsif (/!CALLCONV/ || /KRB5_CALLCONV_WRONG/) {
$xconv = "KRB5_CALLCONV_WRONG";
} elsif ($vararg{$_}) {
$xconv = "KRB5_CALLCONV_C";
$xconv = "KRB5_CALLCONV";
}
s/;.*$//;
+
+ if ($xconv eq "PRIVATE") {
+ print "\t private $_\n";
+ next LINE2;
+ }
if (!defined($conv{$_})) {
print "No calling convention specified for $_!\n";
} elsif (! ($conv{$_} eq $xconv)) {