summaryrefslogtreecommitdiff
path: root/lib-src
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 /lib-src
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 'lib-src')
-rw-r--r--lib-src/ChangeLog7
-rw-r--r--lib-src/emacsclient.c1
-rw-r--r--lib-src/etags.c3
-rw-r--r--lib-src/movemail.c3
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 @@
+2010-04-02 Dan Nicolaescu <dann@ics.uci.edu>
+
+ Remove extern errno declarations.
+ * movemail.c:
+ * etags.c:
+ * emacsclient.c: Remove extern errno declarations.
+
2010-03-20 Glenn Morris <rgm@gnu.org>
* 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)
#define SEND_BUFFER_SIZE 4096
extern char *strerror ();
-extern int errno;
/* Buffer to accumulate data to send in TCP connections. */
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";
#include <stdio.h>
#include <ctype.h>
#include <errno.h>
-#ifndef errno
- extern int errno;
-#endif
#include <sys/types.h>
#include <sys/stat.h>
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 ();
#endif
#endif
-#ifndef errno
-extern int errno;
-#endif
char *strerror ();
#ifdef HAVE_INDEX
extern char *index __P ((const char *, int));