summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/cut.c1
-rw-r--r--coreutils/date.c1
-rw-r--r--coreutils/dos2unix.c1
-rw-r--r--coreutils/env.c2
-rw-r--r--coreutils/install.c2
-rw-r--r--coreutils/ls.c2
-rw-r--r--coreutils/mkdir.c2
-rw-r--r--coreutils/mv.c2
-rw-r--r--coreutils/stat.c2
-rw-r--r--coreutils/sum.c1
-rw-r--r--coreutils/uudecode.c2
-rw-r--r--coreutils/uuencode.c1
12 files changed, 7 insertions, 12 deletions
diff --git a/coreutils/cut.c b/coreutils/cut.c
index f65754e..f9c72ca 100644
--- a/coreutils/cut.c
+++ b/coreutils/cut.c
@@ -23,7 +23,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include <getopt.h>
#include <unistd.h>
#include <string.h>
#include <limits.h>
diff --git a/coreutils/date.c b/coreutils/date.c
index 0488b2d..9583a00 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -29,7 +29,6 @@
#include <time.h>
#include <stdio.h>
#include <string.h>
-#include <getopt.h>
#include "busybox.h"
diff --git a/coreutils/dos2unix.c b/coreutils/dos2unix.c
index 3488f33..0c419ac 100644
--- a/coreutils/dos2unix.c
+++ b/coreutils/dos2unix.c
@@ -28,7 +28,6 @@
*/
#include <string.h>
-#include <getopt.h>
#include <unistd.h>
#include <stdint.h>
#include <fcntl.h>
diff --git a/coreutils/env.c b/coreutils/env.c
index 70cef65..1a8ad7c 100644
--- a/coreutils/env.c
+++ b/coreutils/env.c
@@ -47,7 +47,7 @@
#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
-#include <getopt.h>
+#include <getopt.h> /* struct option */
#include "busybox.h"
diff --git a/coreutils/install.c b/coreutils/install.c
index e22dda6..74e1d9a 100644
--- a/coreutils/install.c
+++ b/coreutils/install.c
@@ -23,10 +23,10 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <errno.h>
-#include <getopt.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <getopt.h> /* struct option */
#include "busybox.h"
#include "libcoreutils/coreutils.h"
diff --git a/coreutils/ls.c b/coreutils/ls.c
index ac2557a..4dfa9f5 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -60,7 +60,7 @@ enum {
#include <fcntl.h>
#include <signal.h>
#include <termios.h>
-#include <getopt.h>
+#include <getopt.h> /* struct option */
#include <sys/ioctl.h>
#include <sys/sysmacros.h> /* major() and minor() */
#include "busybox.h"
diff --git a/coreutils/mkdir.c b/coreutils/mkdir.c
index 50364f1..e24ef4f 100644
--- a/coreutils/mkdir.c
+++ b/coreutils/mkdir.c
@@ -31,7 +31,7 @@
#include <stdlib.h>
#include <unistd.h>
-#include <getopt.h>
+#include <getopt.h> /* struct option */
#include "busybox.h"
static const struct option mkdir_long_options[] = {
diff --git a/coreutils/mv.c b/coreutils/mv.c
index 43a8e6d..aef1ed1 100644
--- a/coreutils/mv.c
+++ b/coreutils/mv.c
@@ -31,7 +31,7 @@
#include <dirent.h>
#include <errno.h>
#include <stdlib.h>
-#include <getopt.h>
+#include <getopt.h> /* struct option */
#include "busybox.h"
#include "libcoreutils/coreutils.h"
diff --git a/coreutils/stat.c b/coreutils/stat.c
index 4afe249..138cc9e 100644
--- a/coreutils/stat.c
+++ b/coreutils/stat.c
@@ -30,7 +30,7 @@
#include <grp.h>
#include <sys/vfs.h>
#include <time.h>
-#include <getopt.h>
+#include <getopt.h> /* optind */
#include <sys/stat.h>
#include <sys/statfs.h>
#include <sys/statvfs.h>
diff --git a/coreutils/sum.c b/coreutils/sum.c
index 3b4941d..0a9c973 100644
--- a/coreutils/sum.c
+++ b/coreutils/sum.c
@@ -18,7 +18,6 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
-#include <getopt.h>
#include "busybox.h"
diff --git a/coreutils/uudecode.c b/coreutils/uudecode.c
index 57d4e83..6167c9f 100644
--- a/coreutils/uudecode.c
+++ b/coreutils/uudecode.c
@@ -24,7 +24,7 @@
#include <stdio.h>
#include <errno.h>
-#include <getopt.h>
+#include <getopt.h> /* optind */
#include <string.h>
#include <stdlib.h>
diff --git a/coreutils/uuencode.c b/coreutils/uuencode.c
index 42f629f..2660f4a 100644
--- a/coreutils/uuencode.c
+++ b/coreutils/uuencode.c
@@ -19,7 +19,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include <getopt.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>