aboutsummaryrefslogtreecommitdiffstats
path: root/examples/loadables
diff options
context:
space:
mode:
authorRicardo Cerqueira <cyanogenmod@cerqueira.org>2013-07-25 22:35:34 +0100
committerDan Pasanen <dan.pasanen@gmail.com>2014-10-02 14:25:24 -0500
commita02fbffce9029e3eaa63dfc5f3e79a79da033e4c (patch)
tree0a1172936b3668f01e20fa2874251810b9f32384 /examples/loadables
parentc6e37862a742387dafd6e175c6d9cb38df5f81e3 (diff)
downloadandroid_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 'examples/loadables')
-rw-r--r--examples/loadables/cat.c2
-rw-r--r--examples/loadables/head.c2
-rw-r--r--examples/loadables/ln.c2
-rw-r--r--examples/loadables/logname.c2
-rw-r--r--examples/loadables/mkdir.c2
-rw-r--r--examples/loadables/pathchk.c2
-rw-r--r--examples/loadables/perl/bperl.c2
-rw-r--r--examples/loadables/print.c2
-rw-r--r--examples/loadables/push.c2
-rw-r--r--examples/loadables/rmdir.c2
-rw-r--r--examples/loadables/tee.c2
-rw-r--r--examples/loadables/template.c2
-rw-r--r--examples/loadables/uname.c2
-rw-r--r--examples/loadables/unlink.c2
14 files changed, 14 insertions, 14 deletions
diff --git a/examples/loadables/cat.c b/examples/loadables/cat.c
index 1ce2e2d..30fe789 100644
--- a/examples/loadables/cat.c
+++ b/examples/loadables/cat.c
@@ -29,7 +29,7 @@
#include "shell.h"
#ifndef errno
-extern int errno;
+#include <errno.h>
#endif
extern char *strerror ();
diff --git a/examples/loadables/head.c b/examples/loadables/head.c
index 22cf6ab..ac93f78 100644
--- a/examples/loadables/head.c
+++ b/examples/loadables/head.c
@@ -42,7 +42,7 @@
#include "common.h"
#if !defined (errno)
-extern int errno;
+#include <errno.h>
#endif
static void
diff --git a/examples/loadables/ln.c b/examples/loadables/ln.c
index ec73636..16514ee 100644
--- a/examples/loadables/ln.c
+++ b/examples/loadables/ln.c
@@ -39,7 +39,7 @@
#include "common.h"
#if !defined (errno)
-extern int errno;
+#include <errno.h>
#endif
typedef int unix_link_syscall_t __P((const char *, const char *));
diff --git a/examples/loadables/logname.c b/examples/loadables/logname.c
index 95b7e21..c3d2538 100644
--- a/examples/loadables/logname.c
+++ b/examples/loadables/logname.c
@@ -32,7 +32,7 @@
#include "common.h"
#if !defined (errno)
-extern int errno;
+#include <errno.h>
#endif
logname_builtin (list)
diff --git a/examples/loadables/mkdir.c b/examples/loadables/mkdir.c
index f5c105e..ba83991 100644
--- a/examples/loadables/mkdir.c
+++ b/examples/loadables/mkdir.c
@@ -37,7 +37,7 @@
#include "common.h"
#if !defined (errno)
-extern int errno;
+#include <errno.h>
#endif
#define ISOCTAL(c) ((c) >= '0' && (c) <= '7')
diff --git a/examples/loadables/pathchk.c b/examples/loadables/pathchk.c
index c5fd24a..6c510e1 100644
--- a/examples/loadables/pathchk.c
+++ b/examples/loadables/pathchk.c
@@ -66,7 +66,7 @@
#include "common.h"
#if !defined (errno)
-extern int errno;
+#include <errno.h>
#endif
#if !defined (_POSIX_PATH_MAX)
diff --git a/examples/loadables/perl/bperl.c b/examples/loadables/perl/bperl.c
index 77e3f7c..c12fd7a 100644
--- a/examples/loadables/perl/bperl.c
+++ b/examples/loadables/perl/bperl.c
@@ -10,7 +10,7 @@
#include "shell.h"
#ifndef errno
-extern int errno;
+#include <errno.h>
#endif
extern char **make_builtin_argv ();
diff --git a/examples/loadables/print.c b/examples/loadables/print.c
index e17597b..fa22bf7 100644
--- a/examples/loadables/print.c
+++ b/examples/loadables/print.c
@@ -39,7 +39,7 @@
#include "common.h"
#if !defined (errno)
-extern int errno;
+#include <errno.h>
#endif
int print_builtin ();
diff --git a/examples/loadables/push.c b/examples/loadables/push.c
index b076073..ca5de75 100644
--- a/examples/loadables/push.c
+++ b/examples/loadables/push.c
@@ -32,7 +32,7 @@
#include "common.h"
#ifndef errno
-extern int errno;
+#include <errno.h>
#endif
extern int dollar_dollar_pid;
diff --git a/examples/loadables/rmdir.c b/examples/loadables/rmdir.c
index 0cfe6c7..5d7bf8c 100644
--- a/examples/loadables/rmdir.c
+++ b/examples/loadables/rmdir.c
@@ -29,7 +29,7 @@
#include "common.h"
#if !defined (errno)
-extern int errno;
+#include <errno.h>
#endif
rmdir_builtin (list)
diff --git a/examples/loadables/tee.c b/examples/loadables/tee.c
index 8b5715f..2f7e4d0 100644
--- a/examples/loadables/tee.c
+++ b/examples/loadables/tee.c
@@ -43,7 +43,7 @@
#include "common.h"
#if !defined (errno)
-extern int errno;
+#include <errno.h>
#endif
typedef struct flist {
diff --git a/examples/loadables/template.c b/examples/loadables/template.c
index 3a5814f..d8ee271 100644
--- a/examples/loadables/template.c
+++ b/examples/loadables/template.c
@@ -16,7 +16,7 @@
#include "bashgetopt.h"
#if !defined (errno)
-extern int errno;
+#include <errno.h>
#endif
extern char *strerror ();
diff --git a/examples/loadables/uname.c b/examples/loadables/uname.c
index a1bddd5..14a9bbb 100644
--- a/examples/loadables/uname.c
+++ b/examples/loadables/uname.c
@@ -56,7 +56,7 @@ struct utsname {
#define FLAG_ALL 0x1f
#ifndef errno
-extern int errno;
+#include <errno.h>
#endif
static void uprint();
diff --git a/examples/loadables/unlink.c b/examples/loadables/unlink.c
index 07e3f3d..3c829e3 100644
--- a/examples/loadables/unlink.c
+++ b/examples/loadables/unlink.c
@@ -35,7 +35,7 @@
#include "common.h"
#ifndef errno
-extern int errno;
+#include <errno.h>
#endif
unlink_builtin (list)