find: improve usage text (Natanael Copa <natanael.copa@gmail.com>)
[oweals/busybox.git] / coreutils / realpath.c
index 993fa1c9d47d6cf14a02d5c9c4f349ead62d5461..b3f7e4957e87eb6185e6cc655a99c51fd6480615 100644 (file)
@@ -5,15 +5,14 @@
 /* Mar 16, 2003      Manuel Novoa III   (mjn3@codepoet.org)
  *
  * Now does proper error checking on output and returns a failure exit code
- * if one or more paths can not be resolved.
+ * if one or more paths cannot be resolved.
  *
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include <limits.h>
-#include <stdlib.h>
 #include "busybox.h"
 
+int realpath_main(int argc, char **argv);
 int realpath_main(int argc, char **argv)
 {
        int retval = EXIT_SUCCESS;
@@ -44,5 +43,5 @@ int realpath_main(int argc, char **argv)
        RELEASE_CONFIG_BUFFER(resolved_path);
 #endif
 
-       bb_fflush_stdout_and_exit(retval);
+       fflush_stdout_and_exit(retval);
 }