* express or implied warranty.
*/
+#include "config.h"
#include <stdio.h>
#include <errno.h>
#ifdef HAVE_STDLIB_H
struct error_table et;
};
-extern struct et_list * _et_list;
+extern struct et_list * _et_dynamic_list;
-int init_error_table(const char * const *msgs, int base, int count)
+int init_error_table(const char * const *msgs, long base, int count)
{
struct foobar * new_et;
new_et->et.base = base;
new_et->et.n_msgs= count;
- new_et->etl.next = _et_list;
- _et_list = &new_et->etl;
+ new_et->etl.next = _et_dynamic_list;
+ _et_dynamic_list = &new_et->etl;
return 0;
}