* et_h.awk: Declare initialize_*_error_table as taking no arguments.
authorKen Raeburn <raeburn@mit.edu>
Fri, 5 Nov 2004 21:23:23 +0000 (21:23 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 5 Nov 2004 21:23:23 +0000 (21:23 +0000)
* et_h.pl: Regenerated.

ticket: 2770
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16865 dc483132-0cff-0310-8789-dd5450dbe970

src/util/et/ChangeLog
src/util/et/et_h.awk
src/util/et/et_h.pl

index 934983400859caac44b1dcfe46ef194525b1f4fa..e9b0e232b1a6ff80b50a4ab4cbea63b3170e61e6 100644 (file)
@@ -1,3 +1,9 @@
+2004-11-05  Ken Raeburn  <raeburn@mit.edu>
+
+       * et_h.awk: Declare initialize_*_error_table as taking no
+       arguments.
+       * et_h.pl: Regenerated.
+
 2004-10-07  Tom Yu  <tlyu@mit.edu>
 
        * et_c.awk, et_h.awk: Fix off-by-one error.
index e3d9fa4c722b4b88927736a127f8dc364c22199b..65c6c453ffd97070bab63e12d20bd885126eb82f 100644 (file)
@@ -155,7 +155,7 @@ END {
        print "" > outfile
        print "#if !defined(_WIN32)" > outfile
        print "/* for compatibility with older versions... */" > outfile
-       print "extern void initialize_" table_name "_error_table () /*@modifies internalState@*/;" > outfile
+       print "extern void initialize_" table_name "_error_table (void) /*@modifies internalState@*/;" > outfile
        print "#else" > outfile
        print "#define initialize_" table_name "_error_table()" > outfile
        print "#endif" > outfile
index e0965de4db22e858b141144331debd43e3f7daf9..5ab8e8b465096b6a9fc9db0c15524894256af2e0 100644 (file)
@@ -203,7 +203,7 @@ else {
 &Pick('>', $outfile) &&
     (print $fh 'extern void initialize_' . $table_name .
 
-      '_error_table () /*@modifies internalState@*/;');
+      '_error_table (void) /*@modifies internalState@*/;');
 &Pick('>', $outfile) &&
     (print $fh '#else');
 &Pick('>', $outfile) &&