old com_err compat
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4137 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -54,10 +54,13 @@ $1 == "error_table" || $1 == "et" {
|
||||
print "" > h_file
|
||||
print "void initialize_" name "_error_table_r(struct error_table**);" > h_file
|
||||
print "" > h_file
|
||||
print "void initialize_" name "_error_table(void);" > h_file
|
||||
n = "initialize_" name "_error_table"
|
||||
print "void " n "(void);" > h_file
|
||||
print "" > h_file
|
||||
print "#define init_" name "_err_tbl " n > h_file
|
||||
print "typedef enum " name "_error_number{" > h_file
|
||||
print "\tERROR_TABLE_BASE_" name " = " base "," > h_file
|
||||
print "\t" name "_err_base = " base "," > h_file
|
||||
next
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user