svn commit: trunk/busybox/e2fsprogs

vodz at busybox.net vodz at busybox.net
Wed Oct 12 11:38:10 UTC 2005


Author: vodz
Date: 2005-10-12 04:38:09 -0700 (Wed, 12 Oct 2005)
New Revision: 11841

Log:
more busyboxes

Modified:
   trunk/busybox/e2fsprogs/e2fsbb.h
   trunk/busybox/e2fsprogs/tune2fs.c


Changeset:
Modified: trunk/busybox/e2fsprogs/e2fsbb.h
===================================================================
--- trunk/busybox/e2fsprogs/e2fsbb.h	2005-10-12 08:43:00 UTC (rev 11840)
+++ trunk/busybox/e2fsprogs/e2fsbb.h	2005-10-12 11:38:09 UTC (rev 11841)
@@ -39,7 +39,6 @@
 #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

Modified: trunk/busybox/e2fsprogs/tune2fs.c
===================================================================
--- trunk/busybox/e2fsprogs/tune2fs.c	2005-10-12 08:43:00 UTC (rev 11840)
+++ trunk/busybox/e2fsprogs/tune2fs.c	2005-10-12 11:38:09 UTC (rev 11841)
@@ -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 @@
 #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;




More information about the busybox-cvs mailing list