diff options
author | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2013-07-25 22:35:34 +0100 |
---|---|---|
committer | Dan Pasanen <dan.pasanen@gmail.com> | 2014-10-02 14:25:24 -0500 |
commit | a02fbffce9029e3eaa63dfc5f3e79a79da033e4c (patch) | |
tree | 0a1172936b3668f01e20fa2874251810b9f32384 /builtins | |
parent | c6e37862a742387dafd6e175c6d9cb38df5f81e3 (diff) | |
download | android_external_bash-a02fbffce9029e3eaa63dfc5f3e79a79da033e4c.tar.gz android_external_bash-a02fbffce9029e3eaa63dfc5f3e79a79da033e4c.tar.bz2 android_external_bash-a02fbffce9029e3eaa63dfc5f3e79a79da033e4c.zip |
Fix building with 4.3's bionic
Change-Id: Icbbcf959deb199e7e584642027ea0383f6450fdc
Conflicts:
autom4te.cache/output.0
examples/loadables/getconf.c
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 4bef721..dcacb5b 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 3a7cc4e..7589ab8 100644 --- a/builtins/bind.def +++ b/builtins/bind.def @@ -73,7 +73,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 e9db7b2..e40b107 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 965676b..d4443d9 100644 --- a/builtins/caller.def +++ b/builtins/caller.def @@ -65,7 +65,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 7f9b13f..e2289ab 100644 --- a/builtins/cd.c +++ b/builtins/cd.c @@ -32,7 +32,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 f66e68c..e49b3bd 100644 --- a/builtins/cd.def +++ b/builtins/cd.def @@ -51,7 +51,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 fb2b38c..5f8a1e1 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 058d99d..50d3254 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 21937ba..91b22fe 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 fac53d2..88da13b 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 9cf76d5..16846ac 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 89a1144..58d339c 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 cf6b72c..1820826 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; diff --git a/builtins/help.c b/builtins/help.c index 2b744fe..42c80e5 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 1894f17..4f04305 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 92b2f5e..d7fc06f 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 4cf7308..7d04998 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 b49ed87..2b7e0c7 100644 --- a/builtins/kill.c +++ b/builtins/kill.c @@ -26,7 +26,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 2e68f03..9024535 100644 --- a/builtins/kill.def +++ b/builtins/kill.def @@ -66,7 +66,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 4d03860..3a51a68 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 2e6a643..f640ed4 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 15bb80f..e5177b2 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 ba0fc1b..e4e2bca 100644 --- a/builtins/printf.c +++ b/builtins/printf.c @@ -54,7 +54,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 7f29126..0e7fe78 100644 --- a/builtins/printf.def +++ b/builtins/printf.def @@ -104,7 +104,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 032c5b2..0185450 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 9c6548f..aca74ef 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 9e4d455..2639042 100644 --- a/builtins/read.c +++ b/builtins/read.c @@ -44,7 +44,7 @@ #include "shmbutil.h" #if !defined(errno) -extern int errno; +#include <errno.h> #endif extern void run_pending_traps __P((void)); diff --git a/builtins/read.def b/builtins/read.def index 4397154..d6e5b4b 100644 --- a/builtins/read.def +++ b/builtins/read.def @@ -106,7 +106,7 @@ $END #include "shmbutil.h" #if !defined(errno) -extern int errno; +#include <errno.h> #endif extern void run_pending_traps __P((void)); diff --git a/builtins/source.c b/builtins/source.c index d7eec21..6f280b8 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 ab016d1..b57c627 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 e551cff..fc676c7 100644 --- a/builtins/ulimit.def +++ b/builtins/ulimit.def @@ -92,7 +92,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 |