summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author"Vladimir N. Oleynik"2005-10-12 11:38:09 +0000
committer"Vladimir N. Oleynik"2005-10-12 11:38:09 +0000
commit1c275de6a2b332d49355d02d3d8650aea33f1b87 (patch)
treec8f94975d13632755d452bb9e7ac18a022dbb7be
parent87210b5f4b92660b737f4c3e56b44c1c19a37fac (diff)
downloadbusybox-1c275de6a2b332d49355d02d3d8650aea33f1b87.zip
busybox-1c275de6a2b332d49355d02d3d8650aea33f1b87.tar.gz
more busyboxes
-rw-r--r--e2fsprogs/e2fsbb.h1
-rw-r--r--e2fsprogs/tune2fs.c12
2 files changed, 4 insertions, 9 deletions
diff --git a/e2fsprogs/e2fsbb.h b/e2fsprogs/e2fsbb.h
index 7e4d1ab..570d536 100644
--- a/e2fsprogs/e2fsbb.h
+++ b/e2fsprogs/e2fsbb.h
@@ -39,7 +39,6 @@ typedef long errcode_t;
#define ENABLE_HTREE 1
#define HAVE_ERRNO_H 1
#define HAVE_EXT2_IOCTLS 1
-#define HAVE_GETOPT_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_LINUX_FD_H 1
#define HAVE_MALLOC_H 1
diff --git a/e2fsprogs/tune2fs.c b/e2fsprogs/tune2fs.c
index ccbbc78..0519c09 100644
--- a/e2fsprogs/tune2fs.c
+++ b/e2fsprogs/tune2fs.c
@@ -26,14 +26,6 @@
*/
#include <fcntl.h>
-#include <grp.h>
-#ifdef HAVE_GETOPT_H
-#include <getopt.h>
-#else
-extern char *optarg;
-extern int optind;
-#endif
-#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -50,6 +42,10 @@ extern int optind;
#include "util.h"
#include "blkid/blkid.h"
+#include "busybox.h"
+#include "grp_.h"
+#include "pwd_.h"
+
static char * device_name = NULL;
static char * new_label, *new_last_mounted, *new_UUID;
static char * io_options;