(main): Remove extern declaration for sys_nerr, which
authorGerd Moellmann <gerd@gnu.org>
Fri, 29 Jun 2001 22:09:24 +0000 (22:09 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 29 Jun 2001 22:09:24 +0000 (22:09 +0000)
isn't used and causes a compilation error with GCC 3.0 on
FreeBSD 4.3.

src/ChangeLog
src/emacs.c

index 5012ea7..0bfccb7 100644 (file)
@@ -1,3 +1,9 @@
+2001-06-30  Gerd Moellmann  <gerd@gnu.org>
+
+       * emacs.c (main): Remove extern declaration for sys_nerr, which
+       isn't used and causes a compilation error with GCC 3.0 on
+       FreeBSD 4.3.
+
 2001-06-27  Gerd Moellmann  <gerd@gnu.org>
 
        * widget.c (EmacsFrameSetCharSize): Turn off atimers and block
index 00812cf..ff97369 100644 (file)
@@ -712,7 +712,6 @@ main (argc, argv, envp)
   int skip_args = 0;
 #ifndef USE_CRT_DLL
   extern int errno;
-  extern int sys_nerr;
 #endif
 #ifdef HAVE_SETRLIMIT
   struct rlimit rlim;