From: Ezra Peisach Date: Mon, 24 Jul 2000 16:07:31 +0000 (+0000) Subject: * et_c.awk: Actually define NOARGS as needed. Add prototype for X-Git-Tag: krb5-1.3-alpha1~1956 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=80c58c2c1a01da0e6a066b2be1a569d4ab624672;p=krb5.git * et_c.awk: Actually define NOARGS as needed. Add prototype for error table initiialization function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12584 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/et/ChangeLog b/src/util/et/ChangeLog index 9445923a0..16ed99267 100644 --- a/src/util/et/ChangeLog +++ b/src/util/et/ChangeLog @@ -1,3 +1,8 @@ +2000-07-24 Ezra Peisach + + * et_c.awk: Actually define NOARGS as needed. Add prototype for + error table initiialization function. + 2000-07-02 Ken Raeburn * com_err.h (com_err): Undo previous change; com_err accepts a diff --git a/src/util/et/et_c.awk b/src/util/et/et_c.awk index 94b258f0f..9c6a6cfa8 100644 --- a/src/util/et/et_c.awk +++ b/src/util/et/et_c.awk @@ -125,11 +125,15 @@ c2n["_"]=63 print "#if defined(__STDC__) || defined(_MSDOS) || defined(_WIN32)" > outfile print "#define P(x) x" > outfile + print "#define NOARGS void" > outfile print "#else" > outfile print "#define P(x) ()" > outfile + print "#define NOARGS" > outfile print "#define const" > outfile print "#endif" > outfile print "" > outfile + print "extern void initialize_" table_name "_error_table (NOARGS);" > outfile + print "" > outfile print "static const char FAR * const text[] = {" > outfile table_item_count = 0 }