Needed for com_err library testing
authorKen Raeburn <raeburn@mit.edu>
Wed, 7 May 2003 21:50:31 +0000 (21:50 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 7 May 2003 21:50:31 +0000 (21:50 +0000)
* 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
src/util/et/test_et.c

index 493ce9ae3cda91bf30c211e8b7b410b4ad689856..e1661b17bec283bb04dca769c713e1f6ceb1e33b 100644 (file)
@@ -1,3 +1,7 @@
+2003-04-29  Ken Raeburn  <raeburn@mit.edu>
+
+       * test_et.c [HAVE_SYS_ERRLIST]: Do declare sys_nerr.
+
 2003-04-23  Ken Raeburn  <raeburn@mit.edu>
 
        * compile_et.c: Don't declare malloc or errno.  Include stdlib.h
index 57ebafd696a1a6580db3d1f36722d70377a2d04f..a9d5457877fa2eb760e2035dcd7cbb9ec5a00f4b 100644 (file)
@@ -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");