diff options
| author | Dan Nicolaescu | 2010-04-01 20:10:33 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-04-01 20:10:33 -0700 |
| commit | 42a2c62292ca811bbca455ef738fcde861644d53 (patch) | |
| tree | 047edcf83a31d6a0c29297a5ecb3ccfccafebe97 /lib-src | |
| parent | 8224f93d18d7470f54d5894cb74da0168bddee44 (diff) | |
| download | emacs-42a2c62292ca811bbca455ef738fcde861644d53.tar.gz emacs-42a2c62292ca811bbca455ef738fcde861644d53.zip | |
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 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 7 | ||||
| -rw-r--r-- | lib-src/emacsclient.c | 1 | ||||
| -rw-r--r-- | lib-src/etags.c | 3 | ||||
| -rw-r--r-- | lib-src/movemail.c | 3 |
4 files changed, 7 insertions, 7 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 4e9c7e19ff7..ad7ce6da3c2 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2010-04-02 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | Remove extern errno declarations. | ||
| 4 | * movemail.c: | ||
| 5 | * etags.c: | ||
| 6 | * emacsclient.c: Remove extern errno declarations. | ||
| 7 | |||
| 1 | 2010-03-20 Glenn Morris <rgm@gnu.org> | 8 | 2010-03-20 Glenn Morris <rgm@gnu.org> |
| 2 | 9 | ||
| 3 | * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB) | 10 | * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB) |
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 01241b518bb..1e7ec7d9678 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -723,7 +723,6 @@ main (argc, argv) | |||
| 723 | #define SEND_BUFFER_SIZE 4096 | 723 | #define SEND_BUFFER_SIZE 4096 |
| 724 | 724 | ||
| 725 | extern char *strerror (); | 725 | extern char *strerror (); |
| 726 | extern int errno; | ||
| 727 | 726 | ||
| 728 | /* Buffer to accumulate data to send in TCP connections. */ | 727 | /* Buffer to accumulate data to send in TCP connections. */ |
| 729 | char send_buffer[SEND_BUFFER_SIZE + 1]; | 728 | char send_buffer[SEND_BUFFER_SIZE + 1]; |
diff --git a/lib-src/etags.c b/lib-src/etags.c index 17aad9a2252..89edc6c1b27 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -188,9 +188,6 @@ char pot_etags_version[] = "@(#) pot revision number is 17.38.1.4"; | |||
| 188 | #include <stdio.h> | 188 | #include <stdio.h> |
| 189 | #include <ctype.h> | 189 | #include <ctype.h> |
| 190 | #include <errno.h> | 190 | #include <errno.h> |
| 191 | #ifndef errno | ||
| 192 | extern int errno; | ||
| 193 | #endif | ||
| 194 | #include <sys/types.h> | 191 | #include <sys/types.h> |
| 195 | #include <sys/stat.h> | 192 | #include <sys/stat.h> |
| 196 | 193 | ||
diff --git a/lib-src/movemail.c b/lib-src/movemail.c index e0eb4d48b89..a887eb216ac 100644 --- a/lib-src/movemail.c +++ b/lib-src/movemail.c | |||
| @@ -140,9 +140,6 @@ static char *mail_spool_name (); | |||
| 140 | #endif | 140 | #endif |
| 141 | #endif | 141 | #endif |
| 142 | 142 | ||
| 143 | #ifndef errno | ||
| 144 | extern int errno; | ||
| 145 | #endif | ||
| 146 | char *strerror (); | 143 | char *strerror (); |
| 147 | #ifdef HAVE_INDEX | 144 | #ifdef HAVE_INDEX |
| 148 | extern char *index __P ((const char *, int)); | 145 | extern char *index __P ((const char *, int)); |