bc: convert to "G trick" - this returns bc to zero bss increase
[oweals/busybox.git] / util-linux / losetup.c
index c608de6cc6d0d1aca01e01e6227b782aa603aa62..6b171d7102d068e927903398c4a8b125f1eb16b5 100644 (file)
@@ -15,9 +15,9 @@
 //config:      file or block device, and to query the status of a loop device. This
 //config:      version does not currently support enabling data encryption.
 
-//kbuild:lib-$(CONFIG_LOSETUP) += losetup.o
+//applet:IF_LOSETUP(APPLET_NOEXEC(losetup, losetup, BB_DIR_SBIN, BB_SUID_DROP, losetup))
 
-//applet:IF_LOSETUP(APPLET(losetup, BB_DIR_SBIN, BB_SUID_DROP))
+//kbuild:lib-$(CONFIG_LOSETUP) += losetup.o
 
 //usage:#define losetup_trivial_usage
 //usage:       "[-r] [-o OFS] {-f|LOOPDEV} FILE - associate loop devices\n"
@@ -57,8 +57,7 @@ int losetup_main(int argc UNUSED_PARAM, char **argv)
                OPT_r = (1 << 4), /* must be last */
        };
 
-       opt_complementary = "?2:d--ofar:a--ofr";
-       opt = getopt32(argv, "do:far", &opt_o);
+       opt = getopt32(argv, "^" "do:far" "\0" "?2:d--ofar:a--ofr", &opt_o);
        argv += optind;
 
        /* LOOPDEV */