diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/intl/dcigettext.c | 2 | ||||
-rw-r--r-- | lib/readline/bind.c | 2 | ||||
-rw-r--r-- | lib/readline/complete.c | 2 | ||||
-rw-r--r-- | lib/readline/examples/rlcat.c | 2 | ||||
-rw-r--r-- | lib/readline/histfile.c | 2 | ||||
-rw-r--r-- | lib/readline/input.c | 2 | ||||
-rw-r--r-- | lib/readline/readline.c | 2 | ||||
-rw-r--r-- | lib/readline/rltty.c | 2 | ||||
-rw-r--r-- | lib/sh/eaccess.c | 2 | ||||
-rw-r--r-- | lib/sh/fmtulong.c | 2 | ||||
-rw-r--r-- | lib/sh/getcwd.c | 2 | ||||
-rw-r--r-- | lib/sh/getenv.c | 2 | ||||
-rw-r--r-- | lib/sh/input_avail.c | 2 | ||||
-rw-r--r-- | lib/sh/netopen.c | 2 | ||||
-rw-r--r-- | lib/sh/oslib.c | 2 | ||||
-rw-r--r-- | lib/sh/pathcanon.c | 2 | ||||
-rw-r--r-- | lib/sh/pathphys.c | 2 | ||||
-rw-r--r-- | lib/sh/rename.c | 2 | ||||
-rw-r--r-- | lib/sh/strerror.c | 2 | ||||
-rw-r--r-- | lib/sh/strtod.c | 2 | ||||
-rw-r--r-- | lib/sh/strtol.c | 2 | ||||
-rw-r--r-- | lib/sh/tmpfile.c | 2 | ||||
-rw-r--r-- | lib/sh/winsize.c | 2 | ||||
-rw-r--r-- | lib/sh/zcatfd.c | 2 | ||||
-rw-r--r-- | lib/sh/zgetline.c | 2 | ||||
-rw-r--r-- | lib/sh/zmapfd.c | 2 | ||||
-rw-r--r-- | lib/sh/zread.c | 2 | ||||
-rw-r--r-- | lib/sh/zwrite.c | 2 |
28 files changed, 28 insertions, 28 deletions
diff --git a/lib/intl/dcigettext.c b/lib/intl/dcigettext.c index c0f347e..64b3875 100644 --- a/lib/intl/dcigettext.c +++ b/lib/intl/dcigettext.c @@ -55,7 +55,7 @@ char *alloca (); #include <errno.h> #ifndef errno -extern int errno; +#include <errno.h> #endif #ifndef __set_errno # define __set_errno(val) errno = (val) diff --git a/lib/readline/bind.c b/lib/readline/bind.c index 8acf4ac..51978c7 100644 --- a/lib/readline/bind.c +++ b/lib/readline/bind.c @@ -49,7 +49,7 @@ #include <errno.h> #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ #include "posixstat.h" diff --git a/lib/readline/complete.c b/lib/readline/complete.c index cd9aebe..544fc46 100644 --- a/lib/readline/complete.c +++ b/lib/readline/complete.c @@ -47,7 +47,7 @@ #include <errno.h> #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ #if defined (HAVE_PWD_H) diff --git a/lib/readline/examples/rlcat.c b/lib/readline/examples/rlcat.c index fa9e06f..db03e87 100644 --- a/lib/readline/examples/rlcat.c +++ b/lib/readline/examples/rlcat.c @@ -46,7 +46,7 @@ extern void exit(); #endif #ifndef errno -extern int errno; +#include <errno.h> #endif #if defined (READLINE_LIBRARY) diff --git a/lib/readline/histfile.c b/lib/readline/histfile.c index bb74315..845c243 100644 --- a/lib/readline/histfile.c +++ b/lib/readline/histfile.c @@ -90,7 +90,7 @@ #include <errno.h> #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ #include "history.h" diff --git a/lib/readline/input.c b/lib/readline/input.c index f3f6d59..e5434f9 100644 --- a/lib/readline/input.c +++ b/lib/readline/input.c @@ -57,7 +57,7 @@ #include <errno.h> #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ /* System-specific feature definitions and include files. */ diff --git a/lib/readline/readline.c b/lib/readline/readline.c index abb29a0..50e4338 100644 --- a/lib/readline/readline.c +++ b/lib/readline/readline.c @@ -52,7 +52,7 @@ #include <errno.h> #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ /* System-specific feature definitions and include files. */ diff --git a/lib/readline/rltty.c b/lib/readline/rltty.c index 908bae1..faf4bc6 100644 --- a/lib/readline/rltty.c +++ b/lib/readline/rltty.c @@ -46,7 +46,7 @@ #include "rlprivate.h" #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ rl_vintfunc_t *rl_prep_term_function = rl_prep_terminal; diff --git a/lib/sh/eaccess.c b/lib/sh/eaccess.c index 8132a9a..ccb2f22 100644 --- a/lib/sh/eaccess.c +++ b/lib/sh/eaccess.c @@ -34,7 +34,7 @@ #include <errno.h> #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ #if !defined (_POSIX_VERSION) && defined (HAVE_SYS_FILE_H) diff --git a/lib/sh/fmtulong.c b/lib/sh/fmtulong.c index 0ccc22b..6feda41 100644 --- a/lib/sh/fmtulong.c +++ b/lib/sh/fmtulong.c @@ -51,7 +51,7 @@ #include <typemax.h> #ifndef errno -extern int errno; +#include <errno.h> #endif #define x_digs "0123456789abcdef" diff --git a/lib/sh/getcwd.c b/lib/sh/getcwd.c index d7bd241..31e26b7 100644 --- a/lib/sh/getcwd.c +++ b/lib/sh/getcwd.c @@ -57,7 +57,7 @@ #include <xmalloc.h> #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ #if !defined (HAVE_LSTAT) diff --git a/lib/sh/getenv.c b/lib/sh/getenv.c index 8b5e340..c86f861 100644 --- a/lib/sh/getenv.c +++ b/lib/sh/getenv.c @@ -32,7 +32,7 @@ #include <shell.h> #ifndef errno -extern int errno; +#include <errno.h> #endif extern char **environ; diff --git a/lib/sh/input_avail.c b/lib/sh/input_avail.c index ac157a9..c2ecbc1 100644 --- a/lib/sh/input_avail.c +++ b/lib/sh/input_avail.c @@ -49,7 +49,7 @@ #include <errno.h> #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ #if !defined (O_NDELAY) && defined (O_NONBLOCK) diff --git a/lib/sh/netopen.c b/lib/sh/netopen.c index 736d413..f82aaa6 100644 --- a/lib/sh/netopen.c +++ b/lib/sh/netopen.c @@ -59,7 +59,7 @@ #include <xmalloc.h> #ifndef errno -extern int errno; +#include <errno.h> #endif #if !defined (HAVE_INET_ATON) diff --git a/lib/sh/oslib.c b/lib/sh/oslib.c index 65eb99d..bd48dd7 100644 --- a/lib/sh/oslib.c +++ b/lib/sh/oslib.c @@ -48,7 +48,7 @@ #include <shell.h> #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ /* Make the functions strchr and strrchr if they do not exist. */ diff --git a/lib/sh/pathcanon.c b/lib/sh/pathcanon.c index f19bd55..f9bd2d7 100644 --- a/lib/sh/pathcanon.c +++ b/lib/sh/pathcanon.c @@ -39,7 +39,7 @@ #include "shell.h" #if !defined (errno) -extern int errno; +#include <errno.h> #endif #if defined (__CYGWIN__) diff --git a/lib/sh/pathphys.c b/lib/sh/pathphys.c index 26016b7..783e8c5 100644 --- a/lib/sh/pathphys.c +++ b/lib/sh/pathphys.c @@ -43,7 +43,7 @@ #endif #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ extern char *get_working_directory __P((char *)); diff --git a/lib/sh/rename.c b/lib/sh/rename.c index e410b5e..ef2c7fb 100644 --- a/lib/sh/rename.c +++ b/lib/sh/rename.c @@ -35,7 +35,7 @@ #include <stdc.h> #ifndef errno -extern int errno; +#include <errno.h> #endif int diff --git a/lib/sh/strerror.c b/lib/sh/strerror.c index bf63926..e2b75b3 100644 --- a/lib/sh/strerror.c +++ b/lib/sh/strerror.c @@ -37,7 +37,7 @@ #include <shell.h> #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ /* Return a string corresponding to the error number E. From diff --git a/lib/sh/strtod.c b/lib/sh/strtod.c index 851d99b..bd09981 100644 --- a/lib/sh/strtod.c +++ b/lib/sh/strtod.c @@ -26,7 +26,7 @@ #include <errno.h> #ifndef errno -extern int errno; +#include <errno.h> #endif #include <chartypes.h> diff --git a/lib/sh/strtol.c b/lib/sh/strtol.c index 8aa7478..bf7985e 100644 --- a/lib/sh/strtol.c +++ b/lib/sh/strtol.c @@ -26,7 +26,7 @@ #include <errno.h> #ifndef errno -extern int errno; +#include <errno.h> #endif #ifndef __set_errno diff --git a/lib/sh/tmpfile.c b/lib/sh/tmpfile.c index c06ad65..99ed5ca 100644 --- a/lib/sh/tmpfile.c +++ b/lib/sh/tmpfile.c @@ -39,7 +39,7 @@ #include <shell.h> #ifndef errno -extern int errno; +#include <errno.h> #endif #define BASEOPENFLAGS (O_CREAT | O_TRUNC | O_EXCL | O_BINARY) diff --git a/lib/sh/winsize.c b/lib/sh/winsize.c index 64a9858..ad02075 100644 --- a/lib/sh/winsize.c +++ b/lib/sh/winsize.c @@ -60,7 +60,7 @@ #define input_tty() (shell_tty != -1) ? shell_tty : fileno (stderr) #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ extern int shell_tty; diff --git a/lib/sh/zcatfd.c b/lib/sh/zcatfd.c index bdbcd91..5c7bdc4 100644 --- a/lib/sh/zcatfd.c +++ b/lib/sh/zcatfd.c @@ -31,7 +31,7 @@ #include <stdc.h> #if !defined (errno) -extern int errno; +#include <errno.h> #endif extern ssize_t zread __P((int, char *, size_t)); diff --git a/lib/sh/zgetline.c b/lib/sh/zgetline.c index 9cef975..30194b6 100644 --- a/lib/sh/zgetline.c +++ b/lib/sh/zgetline.c @@ -31,7 +31,7 @@ #include "xmalloc.h" #if !defined (errno) -extern int errno; +#include <errno.h> #endif extern ssize_t zread __P((int, char *, size_t)); diff --git a/lib/sh/zmapfd.c b/lib/sh/zmapfd.c index e720892..02d1593 100644 --- a/lib/sh/zmapfd.c +++ b/lib/sh/zmapfd.c @@ -33,7 +33,7 @@ #include "general.h" #if !defined (errno) -extern int errno; +#include <errno.h> #endif extern ssize_t zread __P((int, char *, size_t)); diff --git a/lib/sh/zread.c b/lib/sh/zread.c index 868f970..2c4b8f6 100644 --- a/lib/sh/zread.c +++ b/lib/sh/zread.c @@ -30,7 +30,7 @@ #include <errno.h> #if !defined (errno) -extern int errno; +#include <errno.h> #endif #ifndef SEEK_CUR diff --git a/lib/sh/zwrite.c b/lib/sh/zwrite.c index 3240f4f..b260572 100644 --- a/lib/sh/zwrite.c +++ b/lib/sh/zwrite.c @@ -29,7 +29,7 @@ #include <errno.h> #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* Write NB bytes from BUF to file descriptor FD, retrying the write if |