diff options
Diffstat (limited to 'builtins')
| -rw-r--r-- | builtins/bind.c | 2 | ||||
| -rw-r--r-- | builtins/bind.def | 2 | ||||
| -rw-r--r-- | builtins/caller.c | 2 | ||||
| -rw-r--r-- | builtins/caller.def | 2 | ||||
| -rw-r--r-- | builtins/cd.c | 2 | ||||
| -rw-r--r-- | builtins/cd.def | 2 | ||||
| -rw-r--r-- | builtins/common.c | 2 | ||||
| -rw-r--r-- | builtins/evalfile.c | 2 | ||||
| -rw-r--r-- | builtins/evalstring.c | 2 | ||||
| -rw-r--r-- | builtins/exec.c | 2 | ||||
| -rw-r--r-- | builtins/exec.def | 2 | ||||
| -rw-r--r-- | builtins/fc.c | 2 | ||||
| -rw-r--r-- | builtins/fc.def | 2 | ||||
| -rw-r--r-- | builtins/help.c | 2 | ||||
| -rw-r--r-- | builtins/help.def | 2 | ||||
| -rw-r--r-- | builtins/history.c | 2 | ||||
| -rw-r--r-- | builtins/history.def | 2 | ||||
| -rw-r--r-- | builtins/kill.c | 2 | ||||
| -rw-r--r-- | builtins/kill.def | 2 | ||||
| -rw-r--r-- | builtins/mapfile.c | 2 | ||||
| -rw-r--r-- | builtins/mapfile.def | 2 | ||||
| -rw-r--r-- | builtins/mkbuiltins.c | 2 | ||||
| -rw-r--r-- | builtins/printf.c | 2 | ||||
| -rw-r--r-- | builtins/printf.def | 2 | ||||
| -rw-r--r-- | builtins/psize.c | 2 | ||||
| -rw-r--r-- | builtins/pushd.c | 2 | ||||
| -rw-r--r-- | builtins/pushd.def | 2 | ||||
| -rw-r--r-- | builtins/read.c | 2 | ||||
| -rw-r--r-- | builtins/read.def | 2 | ||||
| -rw-r--r-- | builtins/source.c | 2 | ||||
| -rw-r--r-- | builtins/source.def | 2 | ||||
| -rw-r--r-- | builtins/ulimit.c | 2 | ||||
| -rw-r--r-- | builtins/ulimit.def | 2 |
33 files changed, 33 insertions, 33 deletions
diff --git a/builtins/bind.c b/builtins/bind.c index 60a3a0b..34cd65f 100644 --- a/builtins/bind.c +++ b/builtins/bind.c @@ -17,7 +17,7 @@ #include <stdio.h> #include <errno.h> #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ #include <readline/readline.h> diff --git a/builtins/bind.def b/builtins/bind.def index d0c953b..76d1144 100644 --- a/builtins/bind.def +++ b/builtins/bind.def @@ -71,7 +71,7 @@ $END #include <stdio.h> #include <errno.h> #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ #include <readline/readline.h> diff --git a/builtins/caller.c b/builtins/caller.c index d40438c..342d769 100644 --- a/builtins/caller.c +++ b/builtins/caller.c @@ -29,7 +29,7 @@ #endif #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ int diff --git a/builtins/caller.def b/builtins/caller.def index 7ddbdad..4218fc3 100644 --- a/builtins/caller.def +++ b/builtins/caller.def @@ -64,7 +64,7 @@ $END #endif #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ int diff --git a/builtins/cd.c b/builtins/cd.c index 85be7d1..014461f 100644 --- a/builtins/cd.c +++ b/builtins/cd.c @@ -31,7 +31,7 @@ #include "bashgetopt.h" #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ extern int posixly_correct; diff --git a/builtins/cd.def b/builtins/cd.def index b1aae26..dd98aad 100644 --- a/builtins/cd.def +++ b/builtins/cd.def @@ -50,7 +50,7 @@ $PRODUCES cd.c #include "bashgetopt.h" #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ extern int posixly_correct; diff --git a/builtins/common.c b/builtins/common.c index 83f65d8..5e1c3ff 100644 --- a/builtins/common.c +++ b/builtins/common.c @@ -64,7 +64,7 @@ #endif #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ extern int indirection_level, subshell_environment; diff --git a/builtins/evalfile.c b/builtins/evalfile.c index 4d69acb..6f7b751 100644 --- a/builtins/evalfile.c +++ b/builtins/evalfile.c @@ -52,7 +52,7 @@ #include "common.h" #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* Flags for _evalfile() */ diff --git a/builtins/evalstring.c b/builtins/evalstring.c index 333a56e..df5b5d8 100644 --- a/builtins/evalstring.c +++ b/builtins/evalstring.c @@ -55,7 +55,7 @@ #include "builtext.h" #if !defined (errno) -extern int errno; +#include <errno.h> #endif #define IS_BUILTIN(s) (builtin_address_internal(s, 0) != (struct builtin *)NULL) diff --git a/builtins/exec.c b/builtins/exec.c index 681eee3..b1824ae 100644 --- a/builtins/exec.c +++ b/builtins/exec.c @@ -33,7 +33,7 @@ /* Not all systems declare ERRNO in errno.h... and some systems #define it! */ #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ extern int subshell_environment; diff --git a/builtins/exec.def b/builtins/exec.def index 5d1e625..7e1a180 100644 --- a/builtins/exec.def +++ b/builtins/exec.def @@ -71,7 +71,7 @@ $END /* Not all systems declare ERRNO in errno.h... and some systems #define it! */ #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ extern int subshell_environment; diff --git a/builtins/fc.c b/builtins/fc.c index b0f9361..39b3b4e 100644 --- a/builtins/fc.c +++ b/builtins/fc.c @@ -36,7 +36,7 @@ #include "common.h" #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ extern int current_command_line_count; diff --git a/builtins/fc.def b/builtins/fc.def index 257029d..dc4e41c 100644 --- a/builtins/fc.def +++ b/builtins/fc.def @@ -82,7 +82,7 @@ $END #include "common.h" #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ extern int current_command_line_count, saved_command_line_count; diff --git a/builtins/help.c b/builtins/help.c index d274535..6f632da 100644 --- a/builtins/help.c +++ b/builtins/help.c @@ -31,7 +31,7 @@ #include <glob/glob.h> #ifndef errno -extern int errno; +#include <errno.h> #endif extern const char * const bash_copyright; diff --git a/builtins/help.def b/builtins/help.def index 8fb0e2b..a2081f4 100644 --- a/builtins/help.def +++ b/builtins/help.def @@ -71,7 +71,7 @@ $END #include <glob/glob.h> #ifndef errno -extern int errno; +#include <errno.h> #endif extern const char * const bash_copyright; diff --git a/builtins/history.c b/builtins/history.c index c5c5818..5e9b312 100644 --- a/builtins/history.c +++ b/builtins/history.c @@ -28,7 +28,7 @@ #include "common.h" #if !defined (errno) -extern int errno; +#include <errno.h> #endif extern int current_command_line_count; diff --git a/builtins/history.def b/builtins/history.def index e8249e9..6c27e82 100644 --- a/builtins/history.def +++ b/builtins/history.def @@ -80,7 +80,7 @@ $END #include "common.h" #if !defined (errno) -extern int errno; +#include <errno.h> #endif extern int current_command_line_count; diff --git a/builtins/kill.c b/builtins/kill.c index e68b345..d6f7ba3 100644 --- a/builtins/kill.c +++ b/builtins/kill.c @@ -24,7 +24,7 @@ /* Not all systems declare ERRNO in errno.h... and some systems #define it! */ #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ extern int posixly_correct; diff --git a/builtins/kill.def b/builtins/kill.def index adf022c..abf15ec 100644 --- a/builtins/kill.def +++ b/builtins/kill.def @@ -64,7 +64,7 @@ $END /* Not all systems declare ERRNO in errno.h... and some systems #define it! */ #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ extern int posixly_correct; diff --git a/builtins/mapfile.c b/builtins/mapfile.c index 8b79c37..d3c5419 100644 --- a/builtins/mapfile.c +++ b/builtins/mapfile.c @@ -26,7 +26,7 @@ #include "bashgetopt.h" #if !defined (errno) -extern int errno; +#include <errno.h> #endif #if defined (ARRAY_VARS) diff --git a/builtins/mapfile.def b/builtins/mapfile.def index ec1e32e..c788430 100644 --- a/builtins/mapfile.def +++ b/builtins/mapfile.def @@ -84,7 +84,7 @@ $END #include "bashgetopt.h" #if !defined (errno) -extern int errno; +#include <errno.h> #endif #if defined (ARRAY_VARS) diff --git a/builtins/mkbuiltins.c b/builtins/mkbuiltins.c index cdfdfb1..897acba 100644 --- a/builtins/mkbuiltins.c +++ b/builtins/mkbuiltins.c @@ -56,7 +56,7 @@ #define DOCFILE "builtins.texi" #ifndef errno -extern int errno; +#include <errno.h> #endif static char *xmalloc (), *xrealloc (); diff --git a/builtins/printf.c b/builtins/printf.c index 2bb1178..3c42fa7 100644 --- a/builtins/printf.c +++ b/builtins/printf.c @@ -51,7 +51,7 @@ #endif #if !defined (errno) -extern int errno; +#include <errno.h> #endif #define PC(c) \ diff --git a/builtins/printf.def b/builtins/printf.def index 7892cb5..96c6b64 100644 --- a/builtins/printf.def +++ b/builtins/printf.def @@ -99,7 +99,7 @@ $END #endif #if !defined (errno) -extern int errno; +#include <errno.h> #endif #define PC(c) \ diff --git a/builtins/psize.c b/builtins/psize.c index 30881fb..0afe799 100644 --- a/builtins/psize.c +++ b/builtins/psize.c @@ -42,7 +42,7 @@ #include "../sig.h" #ifndef errno -extern int errno; +#include <errno.h> #endif int nw; diff --git a/builtins/pushd.c b/builtins/pushd.c index 2de6b64..1a431a8 100644 --- a/builtins/pushd.c +++ b/builtins/pushd.c @@ -39,7 +39,7 @@ #endif #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ /* The list of remembered directories. */ diff --git a/builtins/pushd.def b/builtins/pushd.def index 05b7529..b693ef1 100644 --- a/builtins/pushd.def +++ b/builtins/pushd.def @@ -143,7 +143,7 @@ $END #endif #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ /* The list of remembered directories. */ diff --git a/builtins/read.c b/builtins/read.c index 3eb4ceb..4cde065 100644 --- a/builtins/read.c +++ b/builtins/read.c @@ -42,7 +42,7 @@ #endif #if !defined(errno) -extern int errno; +#include <errno.h> #endif struct ttsave diff --git a/builtins/read.def b/builtins/read.def index c4a668a..855dd15 100644 --- a/builtins/read.def +++ b/builtins/read.def @@ -102,7 +102,7 @@ $END #endif #if !defined(errno) -extern int errno; +#include <errno.h> #endif struct ttsave diff --git a/builtins/source.c b/builtins/source.c index 2926553..40abc8b 100644 --- a/builtins/source.c +++ b/builtins/source.c @@ -30,7 +30,7 @@ #include "../trap.h" #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ extern int posixly_correct; diff --git a/builtins/source.def b/builtins/source.def index 71908b8..a6027ca 100644 --- a/builtins/source.def +++ b/builtins/source.def @@ -76,7 +76,7 @@ $END #include "../trap.h" #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* !errno */ extern int posixly_correct; diff --git a/builtins/ulimit.c b/builtins/ulimit.c index 44f0b34..1b33a1a 100644 --- a/builtins/ulimit.c +++ b/builtins/ulimit.c @@ -27,7 +27,7 @@ #include "pipesize.h" #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* For some reason, HPUX chose to make these definitions visible only if diff --git a/builtins/ulimit.def b/builtins/ulimit.def index 03cbe8a..a9bb1c6 100644 --- a/builtins/ulimit.def +++ b/builtins/ulimit.def @@ -89,7 +89,7 @@ $END #include "pipesize.h" #if !defined (errno) -extern int errno; +#include <errno.h> #endif /* For some reason, HPUX chose to make these definitions visible only if |
