xatonum.h: add comment
[oweals/busybox.git] / networking / slattach.c
index 4bac879d29d8aee2683f118d819d4d0f0614e493..17df4fa9e67851d8233c6347fa4c62a213eac190 100644 (file)
@@ -119,11 +119,11 @@ 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 */
-       static const char proto_names[] =
+       static const char proto_names[] ALIGN1 =
                "slip\0"        /* 0 */
                "cslip\0"       /* 1 */
                "slip6\0"       /* 2 */
@@ -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;