use bb_xbind/bb_xlisten
[oweals/busybox.git] / coreutils / rmdir.c
index a10e5bb4fde014627b30efb0b924288f785ca872..cc21f5df98a5127618351c6a0a205f9ecfa08b3d 100644 (file)
@@ -28,7 +28,7 @@
 #include <libgen.h>
 #include "busybox.h"
 
-extern int rmdir_main(int argc, char **argv)
+int rmdir_main(int argc, char **argv)
 {
        int status = EXIT_SUCCESS;
        int flags;
@@ -59,7 +59,7 @@ extern int rmdir_main(int argc, char **argv)
                                /* Path is now just the parent component.  Note that dirname
                                 * returns "." if there are no parents.  We must distinguish
                                 * this from the case of the original path starting with '.'.
-                 */
+                */
                                if (do_dot || (*path != '.') || path[1]) {
                                        continue;
                                }