From 82ce33931333495147d39cb073cb19d22dce472f Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Wed, 18 Dec 1996 00:01:28 +0000 Subject: [PATCH] Don't include krb5.h. Fix some warnings. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1143 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/com_err/compile_et.awk | 4 ++-- lib/error/compile_et.awk | 4 ++-- lib/krb5/error/compile_et.awk | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/com_err/compile_et.awk b/lib/com_err/compile_et.awk index ab45504c0..52d0c3ed3 100644 --- a/lib/com_err/compile_et.awk +++ b/lib/com_err/compile_et.awk @@ -18,13 +18,12 @@ $1 == "error_table" { number = 0 print "/* Generated from " FILENAME " */" > c_file print "#include " > c_file - print "#include " > c_file # print "#include \"" h_file "\"\n" > c_file print "" > c_file print "static const char *text[] = {" > c_file print "/* Generated from " FILENAME " */" > h_file - print "#include " > h_file +# print "#include " > h_file print "" > h_file print "void initialize_" name "_error_table(struct error_list**);" > h_file print "" > h_file @@ -48,6 +47,7 @@ function end_file(c_file, h_file){ print "\t}" > c_file print "}" > c_file close(c_file) + print "\t" name "_num_errors = " number > h_file print "};" > h_file close(h_file) } diff --git a/lib/error/compile_et.awk b/lib/error/compile_et.awk index ab45504c0..52d0c3ed3 100644 --- a/lib/error/compile_et.awk +++ b/lib/error/compile_et.awk @@ -18,13 +18,12 @@ $1 == "error_table" { number = 0 print "/* Generated from " FILENAME " */" > c_file print "#include " > c_file - print "#include " > c_file # print "#include \"" h_file "\"\n" > c_file print "" > c_file print "static const char *text[] = {" > c_file print "/* Generated from " FILENAME " */" > h_file - print "#include " > h_file +# print "#include " > h_file print "" > h_file print "void initialize_" name "_error_table(struct error_list**);" > h_file print "" > h_file @@ -48,6 +47,7 @@ function end_file(c_file, h_file){ print "\t}" > c_file print "}" > c_file close(c_file) + print "\t" name "_num_errors = " number > h_file print "};" > h_file close(h_file) } diff --git a/lib/krb5/error/compile_et.awk b/lib/krb5/error/compile_et.awk index ab45504c0..52d0c3ed3 100644 --- a/lib/krb5/error/compile_et.awk +++ b/lib/krb5/error/compile_et.awk @@ -18,13 +18,12 @@ $1 == "error_table" { number = 0 print "/* Generated from " FILENAME " */" > c_file print "#include " > c_file - print "#include " > c_file # print "#include \"" h_file "\"\n" > c_file print "" > c_file print "static const char *text[] = {" > c_file print "/* Generated from " FILENAME " */" > h_file - print "#include " > h_file +# print "#include " > h_file print "" > h_file print "void initialize_" name "_error_table(struct error_list**);" > h_file print "" > h_file @@ -48,6 +47,7 @@ function end_file(c_file, h_file){ print "\t}" > c_file print "}" > c_file close(c_file) + print "\t" name "_num_errors = " number > h_file print "};" > h_file close(h_file) }