ntpd: set offset to 0.0 in "usync" event
[oweals/busybox.git] / applets / individual.c
index b5d1e1298314b928844be3a971ea9c535fa027ee..4c468df06a032fa2a7b7835ad6f280bda7ee45ca 100644 (file)
@@ -2,26 +2,23 @@
  *
  * Copyright 2005 Rob Landley <rob@landley.net
  *
- * Licensed under GPL version 2, see file LICENSE in this tarball for details
+ * Licensed under GPLv2, see file LICENSE in this source tree.
  */
 
 const char *applet_name;
 
 #include <stdio.h>
 #include <stdlib.h>
-#include "bb_config.h"
 #include "usage.h"
 
-int main(int argc, char *argv[])
+int main(int argc, char **argv)
 {
-       applet_name=argv[0];
-
-       return APPLET_main(argc,argv);
+       applet_name = argv[0];
+       return APPLET_main(argc, argv);
 }
 
 void bb_show_usage(void)
 {
-       printf(APPLET_full_usage "\n");
-
-       exit(1);
+       fputs(APPLET_full_usage "\n", stdout);
+       exit(EXIT_FAILURE);
 }