summaryrefslogtreecommitdiff
path: root/libexec/rpc.sprayd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-06 21:57:28 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-06 21:57:28 +0000
commit05a9b00ba2dad2a103b0550d1ff770c9dea41c67 (patch)
tree39c6d68bb6da2388105cf221b6df680d79d26329 /libexec/rpc.sprayd
parentf5d8fe7463b9acf36c91d3674cf770c40cd09452 (diff)
bring protos into scope
Diffstat (limited to 'libexec/rpc.sprayd')
-rw-r--r--libexec/rpc.sprayd/sprayd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/rpc.sprayd/sprayd.c b/libexec/rpc.sprayd/sprayd.c
index ee3684ad855..6975c001741 100644
--- a/libexec/rpc.sprayd/sprayd.c
+++ b/libexec/rpc.sprayd/sprayd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sprayd.c,v 1.7 2002/09/06 19:43:54 deraadt Exp $*/
+/* $OpenBSD: sprayd.c,v 1.8 2003/07/06 21:57:27 deraadt Exp $*/
/*
* Copyright (c) 1994 Christos Zoulas
@@ -32,7 +32,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: sprayd.c,v 1.7 2002/09/06 19:43:54 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: sprayd.c,v 1.8 2003/07/06 21:57:27 deraadt Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -52,14 +52,14 @@ static int from_inetd = 1;
#define TIMEOUT 120
-void
+static void
cleanup(int signo)
{
(void) pmap_unset(SPRAYPROG, SPRAYVERS); /* XXX signal race */
_exit(0);
}
-void
+static void
die(int signo)
{
_exit(0);