summaryrefslogtreecommitdiff
path: root/lib/libwrap/shell_cmd.c
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2012-03-22 22:59:43 +0000
committerjoerg <joerg@NetBSD.org>2012-03-22 22:59:43 +0000
commitde8402cab29f4508d9f8ee0b43c99fac48ae4dad (patch)
treeed97e6f5d5c967b1d4b5abf311c7542d3b5bbf7b /lib/libwrap/shell_cmd.c
parent91b099f2ad66c5f0c78e32bf14664943d643440c (diff)
Add some more __dead as exposed by the recent WARN bumps.
Diffstat (limited to 'lib/libwrap/shell_cmd.c')
-rw-r--r--lib/libwrap/shell_cmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libwrap/shell_cmd.c b/lib/libwrap/shell_cmd.c
index b73696ec4d0..8396e22af10 100644
--- a/lib/libwrap/shell_cmd.c
+++ b/lib/libwrap/shell_cmd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: shell_cmd.c,v 1.6 2012/03/21 10:10:37 matt Exp $ */
+/* $NetBSD: shell_cmd.c,v 1.7 2012/03/22 22:59:43 joerg Exp $ */
/*
* shell_cmd() takes a shell command after %<character> 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.6 2012/03/21 10:10:37 matt Exp $");
+__RCSID("$NetBSD: shell_cmd.c,v 1.7 2012/03/22 22:59:43 joerg Exp $");
#endif
#endif
@@ -38,7 +38,7 @@ __RCSID("$NetBSD: shell_cmd.c,v 1.6 2012/03/21 10:10:37 matt Exp $");
/* Forward declarations. */
-static void do_child __P((char *));
+static void do_child(char *) __dead;
/* shell_cmd - execute shell command */