xatonum.h: add comment
[oweals/busybox.git] / networking / slattach.c
index f78c88e89f67e297627a8fd6aa70010d3a603ef8..17df4fa9e67851d8233c6347fa4c62a213eac190 100644 (file)
@@ -119,7 +119,7 @@ static void sig_handler(int signo)
        restore_state_and_exit(0);
 }
 
-int slattach_main(int argc, char **argv);
+int slattach_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
 int slattach_main(int argc, char **argv)
 {
        /* Line discipline code table */
@@ -152,7 +152,7 @@ int slattach_main(int argc, char **argv)
        INIT_G();
 
        /* Parse command line options */
-       opt = getopt32(argc, argv, "p:s:c:ehmLF", &proto, &baud_str, &extcmd);
+       opt = getopt32(argv, "p:s:c:ehmLF", &proto, &baud_str, &extcmd);
        /*argc -= optind;*/
        argv += optind;