Patch from Jason Schoon to add optional SIGUSR1 support to dd.
[oweals/busybox.git] / applets / busybox.c
index 3d7a0fd0b30857d4ed366661b1f9ca172fcd9f76..be1f19ad29708d4e91f1b893bf10a5aa6c0d546d 100644 (file)
@@ -11,7 +11,7 @@
 #define setlocale(x,y)
 #endif
 
-const char *bb_applet_name __attribute__((externally_visible));
+const char *bb_applet_name ATTRIBUTE_EXTERNALLY_VISIBLE;
 
 #ifdef CONFIG_FEATURE_INSTALLER
 /*
@@ -108,7 +108,7 @@ int busybox_main(int argc, char **argv)
        }
 
        /* Deal with --help.  (Also print help when called with no arguments) */
-       
+
        if (argc==1 || !strcmp(argv[1],"--help") ) {
                if (argc>2) {
                        run_applet_by_name(bb_applet_name=argv[2], 2, argv);
@@ -144,7 +144,7 @@ int busybox_main(int argc, char **argv)
                        exit(0);
                }
        } else run_applet_by_name(bb_applet_name=argv[1], argc-1, argv+1);
-       
+
        bb_error_msg_and_die("applet not found");
 }