aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 7e4d1ab48..570d536f2 100644
--- a/e2fsprogs/e2fsbb.h
+++ b/e2fsprogs/e2fsbb.h
@@ -39,7 +39,6 @@ typedef long errcode_t;
39#define ENABLE_HTREE 1 39#define ENABLE_HTREE 1
40#define HAVE_ERRNO_H 1 40#define HAVE_ERRNO_H 1
41#define HAVE_EXT2_IOCTLS 1 41#define HAVE_EXT2_IOCTLS 1
42#define HAVE_GETOPT_H 1
43#define HAVE_INTTYPES_H 1 42#define HAVE_INTTYPES_H 1
44#define HAVE_LINUX_FD_H 1 43#define HAVE_LINUX_FD_H 1
45#define HAVE_MALLOC_H 1 44#define HAVE_MALLOC_H 1
diff --git a/e2fsprogs/tune2fs.c b/e2fsprogs/tune2fs.c
index ccbbc7868..0519c0981 100644
--- a/e2fsprogs/tune2fs.c
+++ b/e2fsprogs/tune2fs.c
@@ -26,14 +26,6 @@
26 */ 26 */
27 27
28#include <fcntl.h> 28#include <fcntl.h>
29#include <grp.h>
30#ifdef HAVE_GETOPT_H
31#include <getopt.h>
32#else
33extern char *optarg;
34extern int optind;
35#endif
36#include <pwd.h>
37#include <stdio.h> 29#include <stdio.h>
38#include <stdlib.h> 30#include <stdlib.h>
39#include <string.h> 31#include <string.h>
@@ -50,6 +42,10 @@ extern int optind;
50#include "util.h" 42#include "util.h"
51#include "blkid/blkid.h" 43#include "blkid/blkid.h"
52 44
45#include "busybox.h"
46#include "grp_.h"
47#include "pwd_.h"
48
53static char * device_name = NULL; 49static char * device_name = NULL;
54static char * new_label, *new_last_mounted, *new_UUID; 50static char * new_label, *new_last_mounted, *new_UUID;
55static char * io_options; 51static char * io_options;