Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
107736:1f5000fd5ff7 | 107737:912a8c0c9a8a |
---|---|
26 | 26 |
27 #ifdef HAVE_UNISTD_H | 27 #ifdef HAVE_UNISTD_H |
28 #include <unistd.h> | 28 #include <unistd.h> |
29 #endif | 29 #endif |
30 | 30 |
31 #include <errno.h> | |
31 #include <epaths.h> | 32 #include <epaths.h> |
32 | 33 |
33 #include <stdio.h> | 34 #include <stdio.h> |
34 #include <setjmp.h> | 35 #include <setjmp.h> |
35 | 36 |
732 static void | 733 static void |
733 fatal (msg, prog, x1, x2, x3, x4, x5) | 734 fatal (msg, prog, x1, x2, x3, x4, x5) |
734 char *msg, *prog; | 735 char *msg, *prog; |
735 int x1, x2, x3, x4, x5; | 736 int x1, x2, x3, x4, x5; |
736 { | 737 { |
737 extern int errno; | |
738 | |
739 if (errno) | 738 if (errno) |
740 perror (prog); | 739 perror (prog); |
741 | 740 |
742 (void) fprintf (stderr, msg, prog, x1, x2, x3, x4, x5); | 741 (void) fprintf (stderr, msg, prog, x1, x2, x3, x4, x5); |
743 exit (1); | 742 exit (1); |