--- mshell.c.orig Sun Oct 20 16:13:17 2002 +++ mshell.c Sun Oct 20 16:13:45 2002 @@ -1,5 +1,6 @@ #include "mshell.h" #include <setjmp.h> +#include <stdlib.h> char * index (); @@ -26,8 +27,7 @@ exec_string [DESCLEN], *args [MAXARGS], *menu_array [LINES], - tmpword [WORDLEN], - *malloc(); + tmpword [WORDLEN]; int i, idx, @@ -35,8 +35,7 @@ firsttime = TRUE, dontdisplay = FALSE, unix_flag, - menu_flag, - exit(); + menu_flag; static jmp_buf topenv; static int topenvset; @@ -49,7 +48,7 @@ signal (SIGPIPE, SIG_IGN); /* ignore dead pipes */ log("enter", m); - while TRUE { + while (TRUE) { if (!topenvset) { topenvset = TRUE; @@ -142,7 +141,7 @@ if ( strcmp (action_string, NULLSTR) == 0 ) { invalid_option = TRUE; - printf ("\tNo such help option name as: %s\!\!\n", opt2); + printf ("\tNo such help option name as: %s!!\n", opt2); } else { tmpword[0] = EOS;