Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libwrap/shell_cmd.c,v retrieving revision 1.5.58.2 retrieving revision 1.6 diff -u -p -r1.5.58.2 -r1.6 --- src/lib/libwrap/shell_cmd.c 2012/04/23 23:40:41 1.5.58.2 +++ src/lib/libwrap/shell_cmd.c 2012/03/21 10:10:37 1.6 @@ -1,4 +1,4 @@ -/* $NetBSD: shell_cmd.c,v 1.5.58.2 2012/04/23 23:40:41 riz Exp $ */ +/* $NetBSD: shell_cmd.c,v 1.6 2012/03/21 10:10:37 matt Exp $ */ /* * shell_cmd() takes a shell command after % substitutions. The @@ -15,7 +15,7 @@ #if 0 static char sccsid[] = "@(#) shell_cmd.c 1.5 94/12/28 17:42:44"; #else -__RCSID("$NetBSD: shell_cmd.c,v 1.5.58.2 2012/04/23 23:40:41 riz Exp $"); +__RCSID("$NetBSD: shell_cmd.c,v 1.6 2012/03/21 10:10:37 matt Exp $"); #endif #endif @@ -42,8 +42,8 @@ static void do_child __P((char *)); /* shell_cmd - execute shell command */ -void shell_cmd(command) -char *command; +void +shell_cmd(char *command) { int child_pid; int wait_pid; @@ -68,8 +68,8 @@ char *command; /* do_child - exec command with { stdin, stdout, stderr } to /dev/null */ -static void do_child(command) -char *command; +static void +do_child(char *command) { int tmp_fd;