summaryrefslogtreecommitdiff
path: root/src/xrdb.c
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2010-04-01 20:10:33 -0700
committerDan Nicolaescu <dann@ics.uci.edu>2010-04-01 20:10:33 -0700
commit42a2c62292ca811bbca455ef738fcde861644d53 (patch)
tree047edcf83a31d6a0c29297a5ecb3ccfccafebe97 /src/xrdb.c
parent8224f93d18d7470f54d5894cb74da0168bddee44 (diff)
downloademacs-42a2c62292ca811bbca455ef738fcde861644d53.tar.gz
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.
Diffstat (limited to 'src/xrdb.c')
-rw-r--r--src/xrdb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/xrdb.c b/src/xrdb.c
index c8cb55cb7b8..7808bacc59f 100644
--- a/src/xrdb.c
+++ b/src/xrdb.c
@@ -28,6 +28,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <unistd.h>
#endif
+#include <errno.h>
#include <epaths.h>
#include <stdio.h>
@@ -734,8 +735,6 @@ fatal (msg, prog, x1, x2, x3, x4, x5)
char *msg, *prog;
int x1, x2, x3, x4, x5;
{
- extern int errno;
-
if (errno)
perror (prog);