aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-09 21:28:09 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-09 21:28:09 +0000
commit8d4c397d9d551a9a91f0855e1ca48a5ed4130e7d (patch)
treef9d8162943723e8ca80ec4ef76bdaa7284ebaf11
parent3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332 (diff)
downloadbusybox-w32-8d4c397d9d551a9a91f0855e1ca48a5ed4130e7d.tar.gz
busybox-w32-8d4c397d9d551a9a91f0855e1ca48a5ed4130e7d.tar.bz2
busybox-w32-8d4c397d9d551a9a91f0855e1ca48a5ed4130e7d.zip
Patch from Jeff Garzik marking a few 'getopt not needed' apps.
-rw-r--r--coreutils/whoami.c2
-rw-r--r--coreutils/yes.c2
-rw-r--r--findutils/which.c1
-rw-r--r--miscutils/watchdog.c2
-rw-r--r--true_false.c2
-rw-r--r--watchdog.c2
-rw-r--r--which.c1
-rw-r--r--whoami.c2
-rw-r--r--yes.c2
9 files changed, 16 insertions, 0 deletions
diff --git a/coreutils/whoami.c b/coreutils/whoami.c
index 0bbb54b7b..c3b1140e6 100644
--- a/coreutils/whoami.c
+++ b/coreutils/whoami.c
@@ -20,6 +20,8 @@
20 * 20 *
21 */ 21 */
22 22
23/* getopt not needed */
24
23#include <stdio.h> 25#include <stdio.h>
24#include <stdlib.h> 26#include <stdlib.h>
25#include <unistd.h> 27#include <unistd.h>
diff --git a/coreutils/yes.c b/coreutils/yes.c
index ad7b98f84..7d9596d0b 100644
--- a/coreutils/yes.c
+++ b/coreutils/yes.c
@@ -20,6 +20,8 @@
20 * 20 *
21 */ 21 */
22 22
23/* getopt not needed */
24
23#include <stdio.h> 25#include <stdio.h>
24#include <stdlib.h> 26#include <stdlib.h>
25#include "busybox.h" 27#include "busybox.h"
diff --git a/findutils/which.c b/findutils/which.c
index f9d51f2f3..1d7524465 100644
--- a/findutils/which.c
+++ b/findutils/which.c
@@ -21,6 +21,7 @@
21 * 21 *
22 */ 22 */
23 23
24/* getopt not needed */
24#include <string.h> 25#include <string.h>
25#include <stdio.h> 26#include <stdio.h>
26#include <stdlib.h> 27#include <stdlib.h>
diff --git a/miscutils/watchdog.c b/miscutils/watchdog.c
index 5b5fd6953..f0b0ebd0e 100644
--- a/miscutils/watchdog.c
+++ b/miscutils/watchdog.c
@@ -20,6 +20,8 @@
20 * 20 *
21 */ 21 */
22 22
23/* getopt not needed */
24
23#include <stdio.h> 25#include <stdio.h>
24#include <fcntl.h> 26#include <fcntl.h>
25#include <unistd.h> 27#include <unistd.h>
diff --git a/true_false.c b/true_false.c
index 47d3bb1e4..76183431c 100644
--- a/true_false.c
+++ b/true_false.c
@@ -22,6 +22,8 @@
22 * 22 *
23 */ 23 */
24 24
25/* getopt not needed */
26
25#include <stdlib.h> 27#include <stdlib.h>
26#include "busybox.h" 28#include "busybox.h"
27 29
diff --git a/watchdog.c b/watchdog.c
index 5b5fd6953..f0b0ebd0e 100644
--- a/watchdog.c
+++ b/watchdog.c
@@ -20,6 +20,8 @@
20 * 20 *
21 */ 21 */
22 22
23/* getopt not needed */
24
23#include <stdio.h> 25#include <stdio.h>
24#include <fcntl.h> 26#include <fcntl.h>
25#include <unistd.h> 27#include <unistd.h>
diff --git a/which.c b/which.c
index f9d51f2f3..1d7524465 100644
--- a/which.c
+++ b/which.c
@@ -21,6 +21,7 @@
21 * 21 *
22 */ 22 */
23 23
24/* getopt not needed */
24#include <string.h> 25#include <string.h>
25#include <stdio.h> 26#include <stdio.h>
26#include <stdlib.h> 27#include <stdlib.h>
diff --git a/whoami.c b/whoami.c
index 0bbb54b7b..c3b1140e6 100644
--- a/whoami.c
+++ b/whoami.c
@@ -20,6 +20,8 @@
20 * 20 *
21 */ 21 */
22 22
23/* getopt not needed */
24
23#include <stdio.h> 25#include <stdio.h>
24#include <stdlib.h> 26#include <stdlib.h>
25#include <unistd.h> 27#include <unistd.h>
diff --git a/yes.c b/yes.c
index ad7b98f84..7d9596d0b 100644
--- a/yes.c
+++ b/yes.c
@@ -20,6 +20,8 @@
20 * 20 *
21 */ 21 */
22 22
23/* getopt not needed */
24
23#include <stdio.h> 25#include <stdio.h>
24#include <stdlib.h> 26#include <stdlib.h>
25#include "busybox.h" 27#include "busybox.h"