sprinkle GSSAPI_LIB_VARIABLE

This commit is contained in:
Love Hornquist Astrand
2010-11-27 19:16:44 -08:00
parent 99e1c33987
commit 97c22d9add
3 changed files with 134 additions and 134 deletions

View File

@@ -75,11 +75,11 @@ while(<>) {
$length += 1;
if ($header) {
printf "extern gss_OID_desc $store;\n";
printf "extern GSSAPI_LIB_VARIABLE gss_OID_desc $store;\n";
printf "#define $name (&$store)\n\n";
} else {
printf "/* $name - $oid */\n";
printf "gss_OID_desc $store = { $length, \"$data\" };\n\n";
printf "gss_OID_desc GSSAPI_LIB_VARIABLE $store = { $length, \"$data\" };\n\n";
}
} elsif (/^desc\s+([\w]+)\s+(\w+)\s+(\"[^\"]*\")\s+(\"[^\"]*\")/) {
my ($type, $oid, $short, $long) = ($1, $2, $3, $4);