diff options
Diffstat (limited to 'examples/loadables')
| -rw-r--r-- | examples/loadables/cat.c | 2 | ||||
| -rw-r--r-- | examples/loadables/getconf.c | 2 | ||||
| -rw-r--r-- | examples/loadables/head.c | 2 | ||||
| -rw-r--r-- | examples/loadables/ln.c | 2 | ||||
| -rw-r--r-- | examples/loadables/logname.c | 2 | ||||
| -rw-r--r-- | examples/loadables/mkdir.c | 2 | ||||
| -rw-r--r-- | examples/loadables/pathchk.c | 2 | ||||
| -rw-r--r-- | examples/loadables/perl/bperl.c | 2 | ||||
| -rw-r--r-- | examples/loadables/print.c | 2 | ||||
| -rw-r--r-- | examples/loadables/push.c | 2 | ||||
| -rw-r--r-- | examples/loadables/rmdir.c | 2 | ||||
| -rw-r--r-- | examples/loadables/tee.c | 2 | ||||
| -rw-r--r-- | examples/loadables/template.c | 2 | ||||
| -rw-r--r-- | examples/loadables/uname.c | 2 | ||||
| -rw-r--r-- | examples/loadables/unlink.c | 2 |
15 files changed, 15 insertions, 15 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/getconf.c b/examples/loadables/getconf.c index d3dec41..b70f531 100644 --- a/examples/loadables/getconf.c +++ b/examples/loadables/getconf.c @@ -72,7 +72,7 @@ #include "getconf.h" #ifndef errno -extern int errno; +#include <errno.h> #endif struct conf_variable 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 f41f171..7410b60 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) |
