- add libbb function str_tolower to convert a string to lowercase.
[oweals/busybox.git] / coreutils / hostid.c
index cda96726ab0775239592eb27b187c3e227c41e94..51a76c6311607ac5c7d374ad4a76de0046a065cb 100644 (file)
 #include <unistd.h>
 #include "busybox.h"
 
+int hostid_main(int argc, char ATTRIBUTE_UNUSED **argv);
 int hostid_main(int argc, char ATTRIBUTE_UNUSED **argv)
 {
        if (argc > 1) {
                bb_show_usage();
        }
 
-       bb_printf("%lx\n", gethostid());
+       printf("%lx\n", gethostid());
 
-       bb_fflush_stdout_and_exit(EXIT_SUCCESS);
+       fflush_stdout_and_exit(EXIT_SUCCESS);
 }