]> git.sur5r.net Git - openldap/commitdiff
Use macros for the dummy definitions of sys_errlist/sys_errno
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 6 Apr 1999 01:25:03 +0000 (01:25 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Tue, 6 Apr 1999 01:25:03 +0000 (01:25 +0000)
include/ac/errno.h

index 009c0f463938142c0375078b4c99eaa320587a6b..48fa87da6230eea3c2ecee82615e6918d86bd834 100644 (file)
@@ -20,8 +20,8 @@
 
 #ifdef DECL_SYS_ERRLIST 
 #ifndef HAVE_SYS_ERRLIST
-int             sys_nerr;
-char            **sys_errlist;
+#define                sys_nerr        0
+#define                sys_errlist     ((char **)0)
 #else
 extern int      sys_nerr;
 extern char     *sys_errlist[];