Remove #ifdef __STDC__ junk. We don't do K&R round these parts,
[oweals/busybox.git] / pwd.c
diff --git a/pwd.c b/pwd.c
index 1a023d383377f98b15c84d5d4be24b5f860a0ae7..54129b1755f015f4761729b9f1afa89c160b47e6 100644 (file)
--- a/pwd.c
+++ b/pwd.c
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <dirent.h>
 #include <errno.h>
@@ -30,12 +30,9 @@ extern int pwd_main(int argc, char **argv)
 {
        char buf[BUFSIZ + 1];
 
-       if (argc > 1 && strcmp(argv[1], "--help") == 0)
-               usage(pwd_usage);
-
        if (getcwd(buf, sizeof(buf)) == NULL)
                fatalError("%s\n", strerror(errno));
 
        printf("%s\n", buf);
-       return(TRUE);
+       return EXIT_SUCCESS;
 }