aboutsummaryrefslogtreecommitdiff
path: root/bin/sh
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2023-11-24 20:12:57 +0000
committerWarner Losh <imp@FreeBSD.org>2023-11-27 05:23:59 +0000
commite043f37205ffbde5627ff299ad25cd532f2956f0 (patch)
tree18c795bb976aa42aaf91421fe238f7bf04542974 /bin/sh
parent0b8224d1cc9dc6c9778ba04a75b2c8d47e5d7481 (diff)
Diffstat (limited to 'bin/sh')
-rw-r--r--bin/sh/alias.c3
-rw-r--r--bin/sh/cd.c3
-rw-r--r--bin/sh/error.c3
-rw-r--r--bin/sh/eval.c3
-rw-r--r--bin/sh/exec.c3
-rw-r--r--bin/sh/expand.c3
-rw-r--r--bin/sh/histedit.c3
-rw-r--r--bin/sh/input.c3
-rw-r--r--bin/sh/jobs.c3
-rw-r--r--bin/sh/mail.c3
-rw-r--r--bin/sh/memalloc.c3
-rw-r--r--bin/sh/miscbltin.c3
-rw-r--r--bin/sh/mystring.c3
-rw-r--r--bin/sh/options.c3
-rw-r--r--bin/sh/output.c3
-rw-r--r--bin/sh/parser.c3
-rw-r--r--bin/sh/redir.c3
-rw-r--r--bin/sh/show.c3
-rw-r--r--bin/sh/trap.c3
-rw-r--r--bin/sh/var.c3
20 files changed, 0 insertions, 60 deletions
diff --git a/bin/sh/alias.c b/bin/sh/alias.c
index 239b85f977bc..a02554d66e24 100644
--- a/bin/sh/alias.c
+++ b/bin/sh/alias.c
@@ -30,9 +30,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#endif /* not lint */
-#include <sys/cdefs.h>
#include <stdlib.h>
#include "shell.h"
#include "output.h"
diff --git a/bin/sh/cd.c b/bin/sh/cd.c
index 4c8b4c49ac0f..b908c4320c04 100644
--- a/bin/sh/cd.c
+++ b/bin/sh/cd.c
@@ -30,9 +30,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#endif /* not lint */
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
diff --git a/bin/sh/error.c b/bin/sh/error.c
index 8f129509b8bc..fcc2f309ccbc 100644
--- a/bin/sh/error.c
+++ b/bin/sh/error.c
@@ -30,9 +30,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#endif /* not lint */
-#include <sys/cdefs.h>
/*
* Errors and exceptions.
*/
diff --git a/bin/sh/eval.c b/bin/sh/eval.c
index a92adc348c2a..7caf1972a39d 100644
--- a/bin/sh/eval.c
+++ b/bin/sh/eval.c
@@ -30,9 +30,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#endif /* not lint */
-#include <sys/cdefs.h>
#include <paths.h>
#include <signal.h>
#include <stdlib.h>
diff --git a/bin/sh/exec.c b/bin/sh/exec.c
index b05dff807266..f7788d0758e3 100644
--- a/bin/sh/exec.c
+++ b/bin/sh/exec.c
@@ -30,9 +30,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#endif /* not lint */
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/bin/sh/expand.c b/bin/sh/expand.c
index 4403fa8205e7..dfafe35fbaca 100644
--- a/bin/sh/expand.c
+++ b/bin/sh/expand.c
@@ -34,9 +34,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#endif /* not lint */
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
diff --git a/bin/sh/histedit.c b/bin/sh/histedit.c
index d2ad33356883..5aea58650c67 100644
--- a/bin/sh/histedit.c
+++ b/bin/sh/histedit.c
@@ -30,9 +30,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#endif /* not lint */
-#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <dirent.h>
diff --git a/bin/sh/input.c b/bin/sh/input.c
index 859f2a650fdc..26f233ebf7b6 100644
--- a/bin/sh/input.c
+++ b/bin/sh/input.c
@@ -30,9 +30,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#endif /* not lint */
-#include <sys/cdefs.h>
#include <stdio.h> /* defines BUFSIZ */
#include <fcntl.h>
#include <errno.h>
diff --git a/bin/sh/jobs.c b/bin/sh/jobs.c
index 45f3f66bc7eb..90b5892f72b7 100644
--- a/bin/sh/jobs.c
+++ b/bin/sh/jobs.c
@@ -30,9 +30,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#endif /* not lint */
-#include <sys/cdefs.h>
#include <sys/ioctl.h>
#include <sys/param.h>
#include <sys/resource.h>
diff --git a/bin/sh/mail.c b/bin/sh/mail.c
index c5abc9bc3d8e..97ea41d8da67 100644
--- a/bin/sh/mail.c
+++ b/bin/sh/mail.c
@@ -30,9 +30,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#endif /* not lint */
-#include <sys/cdefs.h>
/*
* Routines to check for mail. (Perhaps make part of main.c?)
*/
diff --git a/bin/sh/memalloc.c b/bin/sh/memalloc.c
index ee4dff26fac4..7850bb147b01 100644
--- a/bin/sh/memalloc.c
+++ b/bin/sh/memalloc.c
@@ -32,9 +32,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#endif /* not lint */
-#include <sys/cdefs.h>
#include <sys/param.h>
#include "shell.h"
#include "output.h"
diff --git a/bin/sh/miscbltin.c b/bin/sh/miscbltin.c
index e0e332845221..6364bd10a584 100644
--- a/bin/sh/miscbltin.c
+++ b/bin/sh/miscbltin.c
@@ -32,9 +32,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#endif /* not lint */
-#include <sys/cdefs.h>
/*
* Miscellaneous builtins.
*/
diff --git a/bin/sh/mystring.c b/bin/sh/mystring.c
index 3d4f5d145446..9ac590d39f64 100644
--- a/bin/sh/mystring.c
+++ b/bin/sh/mystring.c
@@ -32,9 +32,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#endif /* not lint */
-#include <sys/cdefs.h>
/*
* String functions.
*
diff --git a/bin/sh/options.c b/bin/sh/options.c
index c00d82a136ae..2dab8f4ea998 100644
--- a/bin/sh/options.c
+++ b/bin/sh/options.c
@@ -32,9 +32,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#endif /* not lint */
-#include <sys/cdefs.h>
#include <signal.h>
#include <unistd.h>
#include <stdlib.h>
diff --git a/bin/sh/output.c b/bin/sh/output.c
index 33d5af4be915..baf4b8b7cc17 100644
--- a/bin/sh/output.c
+++ b/bin/sh/output.c
@@ -32,9 +32,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#endif /* not lint */
-#include <sys/cdefs.h>
/*
* Shell output routines. We use our own output routines because:
* When a builtin command is interrupted we have to discard
diff --git a/bin/sh/parser.c b/bin/sh/parser.c
index aa181e567bb1..0c1b7a91c257 100644
--- a/bin/sh/parser.c
+++ b/bin/sh/parser.c
@@ -32,9 +32,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#endif /* not lint */
-#include <sys/cdefs.h>
#include <sys/param.h>
#include <pwd.h>
#include <stdlib.h>
diff --git a/bin/sh/redir.c b/bin/sh/redir.c
index 66196dc110b9..eb0fc618a73e 100644
--- a/bin/sh/redir.c
+++ b/bin/sh/redir.c
@@ -32,9 +32,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#endif /* not lint */
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <signal.h>
diff --git a/bin/sh/show.c b/bin/sh/show.c
index 0b772dd18eab..1ccd4583d3a9 100644
--- a/bin/sh/show.c
+++ b/bin/sh/show.c
@@ -32,9 +32,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#endif /* not lint */
-#include <sys/cdefs.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/bin/sh/trap.c b/bin/sh/trap.c
index 0b95278eaf68..2863026a4794 100644
--- a/bin/sh/trap.c
+++ b/bin/sh/trap.c
@@ -32,9 +32,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#endif /* not lint */
-#include <sys/cdefs.h>
#include <signal.h>
#include <unistd.h>
#include <stdlib.h>
diff --git a/bin/sh/var.c b/bin/sh/var.c
index 262e3e5b1066..2f9820a91bdd 100644
--- a/bin/sh/var.c
+++ b/bin/sh/var.c
@@ -32,9 +32,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#endif /* not lint */
-#include <sys/cdefs.h>
#include <unistd.h>
#include <stdlib.h>
#include <paths.h>