From cfb48386e0ce11bd5ae261a4a8e8a6a0c705c817 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Thu, 12 Dec 2002 20:53:54 +0000 Subject: [PATCH] * et_h.awk: It's "const struct error_table et_" in the c file, so it's now const here too. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15043 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/et/ChangeLog | 5 +++++ src/util/et/et_h.awk | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/util/et/ChangeLog b/src/util/et/ChangeLog index fbc0862cc..90db964e2 100644 --- a/src/util/et/ChangeLog +++ b/src/util/et/ChangeLog @@ -1,3 +1,8 @@ +2002-12-12 Tom Yu + + * et_h.awk: It's "const struct error_table et_" in the c file, so + it's now const here too. + 2002-10-07 Sam Hartman * Makefile.in (install-headers): build compile_et so it can be used later diff --git a/src/util/et/et_h.awk b/src/util/et/et_h.awk index 1bbe5e972..d56101de8 100644 --- a/src/util/et/et_h.awk +++ b/src/util/et/et_h.awk @@ -150,7 +150,7 @@ END { tab_base_low) "L)" > outfile } print "" > outfile - print "extern struct error_table et_" table_name "_error_table;" > outfile + print "extern const struct error_table et_" table_name "_error_table;" > outfile print "" > outfile print "#if !defined(_WIN32) && !defined(macintosh) && !(defined(__MACH__) && defined(__APPLE__))" > outfile print "/* for compatibility with older versions... */" > outfile -- 2.26.2