et_c.awk: Add declaration of the Heimdal initialization routine

to avoid gcc -Wall complaints

Rename test cases to spell Heimdal correctly (only one 'l').
This commit is contained in:
Theodore Ts'o 2003-11-28 09:36:37 -05:00
parent 2540bb79b7
commit 52501d440d
11 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-11-28 Theodore Ts'o <tytso@mit.edu>
* et_c.awk: Add declaration of the Heimdal initialization routine
to avoid gcc -Wall complaints
2003-11-26 Theodore Ts'o <tytso@mit.edu>
* com_err.h, com_err.c: Use GCC attributes to mark com_err and

View File

@ -245,6 +245,8 @@ END {
print "}" > outfile
print "" > outfile
print "/* For Heimdal compatibility */" > outfile
print "void initialize_" table_name "_error_table_r(struct et_list **list);" > outfile
print "" > outfile
print "void initialize_" table_name "_error_table_r(struct et_list **list)" > outfile
print "{" > outfile
print " struct et_list *et, **end;" > outfile

View File

@ -36,6 +36,8 @@ void initialize_ovk_error_table(void) {
}
/* For Heimdal compatibility */
void initialize_ovk_error_table_r(struct et_list **list);
void initialize_ovk_error_table_r(struct et_list **list)
{
struct et_list *et, **end;

View File

@ -37,6 +37,8 @@ void initialize_h3test_error_table(void) {
}
/* For Heimdal compatibility */
void initialize_h3test_error_table_r(struct et_list **list);
void initialize_h3test_error_table_r(struct et_list **list)
{
struct et_list *et, **end;

View File

@ -57,6 +57,8 @@ void initialize_krb_error_table(void) {
}
/* For Heimdal compatibility */
void initialize_krb_error_table_r(struct et_list **list);
void initialize_krb_error_table_r(struct et_list **list)
{
struct et_list *et, **end;