diff src/xrdb.c @ 107737:912a8c0c9a8a

Remove extern errno declarations. * xterm.c: * xrdb.c: * w32term.c: * unexec.c: * unexaix.c: * sysdep.c: * process.c: * lread.c: * keyboard.c: * floatfns.c: * filelock.c: * fileio.c: * emacs.c (main): * ecrt0.c: * dispnew.c: * callproc.c: * buffer.c: Remove errno extern declarations. * s/netbsd.h (NEED_ERRNO): Remove. * movemail.c: * etags.c: * emacsclient.c: Remove extern errno declarations.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 01 Apr 2010 20:10:33 -0700
parents 1d1d5d9bd884
children 577241984307
line wrap: on
line diff
--- a/src/xrdb.c	Thu Apr 01 16:08:14 2010 -0700
+++ b/src/xrdb.c	Thu Apr 01 20:10:33 2010 -0700
@@ -28,6 +28,7 @@
 #include <unistd.h>
 #endif
 
+#include <errno.h>
 #include <epaths.h>
 
 #include <stdio.h>
@@ -734,8 +735,6 @@
     char *msg, *prog;
     int x1, x2, x3, x4, x5;
 {
-    extern int errno;
-
     if (errno)
       perror (prog);