bc: convert to "G trick" - this returns bc to zero bss increase
[oweals/busybox.git] / util-linux / fatattr.c
index 0f8d632685f903c42b5ac8b8bf4bb09943692fcf..770b1d2f9a143fbca576112a6c2c4ddb0be220b1 100644 (file)
@@ -9,13 +9,14 @@
  * Public License
  */
 //config:config FATATTR
-//config:      bool "fatattr"
+//config:      bool "fatattr (1.9 kb)"
 //config:      default y
 //config:      select PLATFORM_LINUX
 //config:      help
-//config:        fatattr lists or changes the file attributes on a fat file system.
+//config:      fatattr lists or changes the file attributes on a fat file system.
+
+//applet:IF_FATATTR(APPLET_NOEXEC(fatattr, fatattr, BB_DIR_BIN, BB_SUID_DROP, fatattr))
 
-//applet:IF_FATATTR(APPLET(fatattr, BB_DIR_BIN, BB_SUID_DROP))
 //kbuild:lib-$(CONFIG_FATATTR) += fatattr.o
 
 //usage:#define fatattr_trivial_usage
 #include "libbb.h"
 /* linux/msdos_fs.h says: */
 #ifndef FAT_IOCTL_GET_ATTRIBUTES
-# define FAT_IOCTL_GET_ATTRIBUTES        _IOR('r', 0x10, __u32)
-# define FAT_IOCTL_SET_ATTRIBUTES        _IOW('r', 0x11, __u32)
+# define FAT_IOCTL_GET_ATTRIBUTES        _IOR('r', 0x10, uint32_t)
+# define FAT_IOCTL_SET_ATTRIBUTES        _IOW('r', 0x11, uint32_t)
 #endif
 
 /* Currently supports only the FAT flags, not the NTFS ones.
  * Extra space at the end is a hack to print space separator in file listing.
  * Let's hope no one ever passes space as an option char :)
  */
-static const char bit_to_char[] = "rhsvda67 ";
+static const char bit_to_char[] ALIGN1 = "rhsvda67 ";
 
 static inline unsigned long get_flag(char c)
 {