generate a prototype for the `destroy_foo_error_table' function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2309 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -45,6 +45,7 @@ $1 == "error_table" || $1 == "et" {
|
||||
print "#include <error.h>" > h_file
|
||||
print "" > h_file
|
||||
print "void initialize_" name "_error_table(struct error_table**);" > h_file
|
||||
print "void destroy_" name "_error_table (struct error_table *);" > h_file
|
||||
print "" > h_file
|
||||
print "typedef enum " name "_error_number{" > h_file
|
||||
print "\tERROR_TABLE_BASE_" name " = " base "," > h_file
|
||||
|
@@ -45,6 +45,7 @@ $1 == "error_table" || $1 == "et" {
|
||||
print "#include <error.h>" > h_file
|
||||
print "" > h_file
|
||||
print "void initialize_" name "_error_table(struct error_table**);" > h_file
|
||||
print "void destroy_" name "_error_table (struct error_table *);" > h_file
|
||||
print "" > h_file
|
||||
print "typedef enum " name "_error_number{" > h_file
|
||||
print "\tERROR_TABLE_BASE_" name " = " base "," > h_file
|
||||
|
Reference in New Issue
Block a user