bc: convert to "G trick" - this returns bc to zero bss increase
[oweals/busybox.git] / util-linux / mkfs_reiser.c
index d01119f7fd433754cd5768fb8ca619693c34ae54..b4c8dda6ff40aaecf7da9cc1a7337fadec2b5f26 100644 (file)
@@ -11,8 +11,8 @@
 //config:      default n
 //config:      select PLATFORM_LINUX
 //config:      help
-//config:        Utility to create ReiserFS filesystems.
-//config:        Note: this applet needs a lot of testing and polishing.
+//config:      Utility to create ReiserFS filesystems.
+//config:      Note: this applet needs a lot of testing and polishing.
 
 //applet:IF_MKFS_REISER(APPLET_ODDNAME(mkfs.reiser, mkfs_reiser, BB_DIR_SBIN, BB_SUID_DROP, mkfs_reiser))
 
 #include "libbb.h"
 #include <linux/fs.h>
 
-char BUG_wrong_field_size(void);
-#define STORE_LE(field, value) \
-do { \
-       if (sizeof(field) == 4) \
-               field = SWAP_LE32(value); \
-       else if (sizeof(field) == 2) \
-               field = SWAP_LE16(value); \
-       else if (sizeof(field) == 1) \
-               field = (value); \
-       else \
-               BUG_wrong_field_size(); \
-} while (0)
-
-#define FETCH_LE32(field) \
-       (sizeof(field) == 4 ? SWAP_LE32(field) : BUG_wrong_field_size())
-
 struct journal_params {
        uint32_t jp_journal_1st_block;      /* where does journal start from on its device */
        uint32_t jp_journal_dev;            /* journal device st_rdev */
@@ -180,8 +164,7 @@ int mkfs_reiser_main(int argc UNUSED_PARAM, char **argv)
 
        // using global "option_mask32" instead of local "opts":
        // we are register starved here
-       opt_complementary = "-1";
-       /*opts =*/ getopt32(argv, "b:+j:s:o:t:B:h:u:l:fqd",
+       /*opts =*/ getopt32(argv, "^" "b:+j:s:o:t:B:h:u:l:fqd" "\0" "-1",
                NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, &label);
        argv += optind; // argv[0] -- device