From 57f1dc6a36fbf491aa45d0b3bc94c02c8b14ece3 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 7 May 2003 21:50:31 +0000 Subject: [PATCH] Needed for com_err library testing * test_et.c [HAVE_SYS_ERRLIST]: Do declare sys_nerr. ticket: 1440 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15401 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/et/ChangeLog | 4 ++++ src/util/et/test_et.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/util/et/ChangeLog b/src/util/et/ChangeLog index 493ce9ae3..e1661b17b 100644 --- a/src/util/et/ChangeLog +++ b/src/util/et/ChangeLog @@ -1,3 +1,7 @@ +2003-04-29 Ken Raeburn + + * test_et.c [HAVE_SYS_ERRLIST]: Do declare sys_nerr. + 2003-04-23 Ken Raeburn * compile_et.c: Don't declare malloc or errno. Include stdlib.h diff --git a/src/util/et/test_et.c b/src/util/et/test_et.c index 57ebafd69..a9d545787 100644 --- a/src/util/et/test_et.c +++ b/src/util/et/test_et.c @@ -7,6 +7,10 @@ /* XXX Not part of official public API. */ extern const char *error_table_name (errcode_t); +#ifdef HAVE_SYS_ERRLIST +extern int sys_nerr; +#endif + int main() { printf("Before initiating error table:\n\n"); -- 2.26.2