openbsd-ports/net/icb/patches/patch-icb_c_shell_c

22 lines
575 B
Plaintext
Raw Normal View History

$OpenBSD: patch-icb_c_shell_c,v 1.1 2001/05/14 16:42:53 millert Exp $
--- icb/c_shell.c.orig Fri Feb 24 14:20:19 1995
+++ icb/c_shell.c Mon May 14 10:33:03 2001
@@ -14,7 +14,7 @@ TARGDEFS
2000-01-16 06:10:49 -05:00
static char *usage = "usage: c_shell [command]";
int w, pid;
int shellout = 0;
- union wait status;
+ int status;
char *shell, *getenv();
/* disallow use if restricted mode set */
@@ -66,7 +66,7 @@ TARGDEFS
icbterm();
/* restore signal processing */
- signal(SIGINT, askquit);
+ signal(SIGINT, (void *)askquit);
signal(SIGQUIT, SIG_DFL);
/* clean up a little */