Include <stdarg.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3266 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -64,12 +64,26 @@ while(<>) {
|
||||
if($brace == 0) {
|
||||
$line = $line . " " . $_;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
print "/* This is a generated file */\n\n";
|
||||
print "#ifndef __krb5_protos_h__\n";
|
||||
print "#define __krb5_protos_h__\n\n";
|
||||
|
||||
print '
|
||||
#ifdef __STDC__
|
||||
#include <stdarg.h>
|
||||
#ifndef __P
|
||||
#define __P(x) x
|
||||
#endif
|
||||
#else
|
||||
#ifndef __P
|
||||
#define __P(x)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
';
|
||||
|
||||
foreach(sort keys %funcs){
|
||||
if(/^(main)$/) { next }
|
||||
print $funcs{$_}, "\n\n";
|
||||
|
Reference in New Issue
Block a user