The autoconf tests correctly determine that sys_nerr exists, and that
no declaration is needed. The test_et.c code checks the wrong condition,
though, and the system header declaration of sys_nerr conflicts with the
one in that source file. (The native one is const.)
* test_et.c: Conditionalize sys_nerr declaration on NEED_SYS_ERRLIST, not
HAVE_SYS_ERRLIST.
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15670
dc483132-0cff-0310-8789-
dd5450dbe970
+2003-07-04 Kenneth Raeburn <raeburn@mit.edu>
+
+ * test_et.c: Conditionalize sys_nerr declaration on
+ NEED_SYS_ERRLIST, not HAVE_SYS_ERRLIST.
+
2003-06-12 Alexandra Ellwood <lxs@mit.edu>
* error_table.h, et_c.awk, et_c.pl, et_h.awk, et_c.awk: Removed Mac
OS support because it prevents darwin builds from getting com error
/* XXX Not part of official public API. */
extern const char *error_table_name (errcode_t);
-#ifdef HAVE_SYS_ERRLIST
+#ifdef NEED_SYS_ERRLIST
extern int sys_nerr;
#endif