summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-06-28 20:37:29 +0000
committerderaadt <deraadt@openbsd.org>2003-06-28 20:37:29 +0000
commit1c00ca32085e53c2ff3ecdca26e3dc69e469c892 (patch)
tree0102ecb764feb4a8aa7ce43f59504d7496219f78
parentFix previous commit that broke locate. Unlike printf, print writes a (diff)
downloadwireguard-openbsd-1c00ca32085e53c2ff3ecdca26e3dc69e469c892.tar.xz
wireguard-openbsd-1c00ca32085e53c2ff3ecdca26e3dc69e469c892.zip
() to (void)
-rw-r--r--usr.sbin/authpf/authpf.c8
-rw-r--r--usr.sbin/catman/catman.c6
-rw-r--r--usr.sbin/pppoe/common.c4
-rw-r--r--usr.sbin/pppoe/pppoe.c6
-rw-r--r--usr.sbin/pppoe/server.c4
-rw-r--r--usr.sbin/pwd_mkdb/pwd_mkdb.c6
-rw-r--r--usr.sbin/route6d/route6d.c24
7 files changed, 29 insertions, 29 deletions
diff --git a/usr.sbin/authpf/authpf.c b/usr.sbin/authpf/authpf.c
index 440a749a2ac..c5b28c87449 100644
--- a/usr.sbin/authpf/authpf.c
+++ b/usr.sbin/authpf/authpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: authpf.c,v 1.61 2003/06/27 09:50:07 henning Exp $ */
+/* $OpenBSD: authpf.c,v 1.62 2003/06/28 20:37:29 deraadt Exp $ */
/*
* Copyright (C) 1998 - 2002 Bob Beck (beck@openbsd.org).
@@ -517,7 +517,7 @@ check_luser(char *luserdir, char *luser)
* died ungracefully or were terminated) and remove them.
*/
static int
-remove_stale_rulesets()
+remove_stale_rulesets(void)
{
struct pfioc_ruleset prs;
const int action[PF_RULESET_MAX] = { PF_SCRUB,
@@ -681,7 +681,7 @@ error:
* pfctl_kill_states from pfctl.
*/
static void
-authpf_kill_states()
+authpf_kill_states(void)
{
struct pfioc_state_kill psk;
struct in_addr target;
@@ -736,7 +736,7 @@ do_death(int active)
}
/*
- * callbacks for parse_rules()
+ * callbacks for parse_rules(void)
*/
int
diff --git a/usr.sbin/catman/catman.c b/usr.sbin/catman/catman.c
index 7fb5c03da68..f1c5a456966 100644
--- a/usr.sbin/catman/catman.c
+++ b/usr.sbin/catman/catman.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: catman.c,v 1.6 2003/04/15 08:32:38 deraadt Exp $ */
+/* $OpenBSD: catman.c,v 1.7 2003/06/28 20:37:29 deraadt Exp $ */
/*
* Copyright (c) 1993 Winning Strategies, Inc.
* All rights reserved.
@@ -30,7 +30,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: catman.c,v 1.6 2003/04/15 08:32:38 deraadt Exp $";
+static char rcsid[] = "$Id: catman.c,v 1.7 2003/06/28 20:37:29 deraadt Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -260,7 +260,7 @@ dosystem(const char *cmd)
}
void
-usage()
+usage(void)
{
extern char *__progname;
diff --git a/usr.sbin/pppoe/common.c b/usr.sbin/pppoe/common.c
index e008a140d1a..40287d7d62f 100644
--- a/usr.sbin/pppoe/common.c
+++ b/usr.sbin/pppoe/common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: common.c,v 1.10 2003/06/04 04:46:13 jason Exp $ */
+/* $OpenBSD: common.c,v 1.11 2003/06/28 20:37:29 deraadt Exp $ */
/*
* Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net
@@ -258,7 +258,7 @@ send_padt(int bpffd, struct ether_addr *src_ea,
}
u_int32_t
-cookie_bake()
+cookie_bake(void)
{
MD5_CTX ctx;
unsigned char buf[40];
diff --git a/usr.sbin/pppoe/pppoe.c b/usr.sbin/pppoe/pppoe.c
index 126485e8438..07a53160ac5 100644
--- a/usr.sbin/pppoe/pppoe.c
+++ b/usr.sbin/pppoe/pppoe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pppoe.c,v 1.9 2003/06/04 04:46:13 jason Exp $ */
+/* $OpenBSD: pppoe.c,v 1.10 2003/06/28 20:37:29 deraadt Exp $ */
/*
* Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net
@@ -372,7 +372,7 @@ getifhwaddr(ifnhint, ifnambuf, ea)
}
void
-usage()
+usage(void)
{
extern char *__progname;
@@ -393,7 +393,7 @@ child_handler(sig)
}
int
-signal_init()
+signal_init(void)
{
struct sigaction act;
diff --git a/usr.sbin/pppoe/server.c b/usr.sbin/pppoe/server.c
index 39afc484cae..a9be8cd02fc 100644
--- a/usr.sbin/pppoe/server.c
+++ b/usr.sbin/pppoe/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.10 2003/06/04 04:46:13 jason Exp $ */
+/* $OpenBSD: server.c,v 1.11 2003/06/28 20:37:29 deraadt Exp $ */
/*
* Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net
@@ -145,7 +145,7 @@ server_mode(bpffd, sysname, srvname, ea)
}
void
-key_gen()
+key_gen(void)
{
u_int32_t r;
diff --git a/usr.sbin/pwd_mkdb/pwd_mkdb.c b/usr.sbin/pwd_mkdb/pwd_mkdb.c
index 78863917c1f..0e59d8b04d3 100644
--- a/usr.sbin/pwd_mkdb/pwd_mkdb.c
+++ b/usr.sbin/pwd_mkdb/pwd_mkdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pwd_mkdb.c,v 1.36 2003/06/08 21:14:55 millert Exp $ */
+/* $OpenBSD: pwd_mkdb.c,v 1.37 2003/06/28 20:37:29 deraadt Exp $ */
/*-
* Copyright (c) 1991, 1993, 1994
@@ -41,7 +41,7 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "from: @(#)pwd_mkdb.c 8.5 (Berkeley) 4/20/94";
#else
-static const char rcsid[] = "$OpenBSD: pwd_mkdb.c,v 1.36 2003/06/08 21:14:55 millert Exp $";
+static const char rcsid[] = "$OpenBSD: pwd_mkdb.c,v 1.37 2003/06/28 20:37:29 deraadt Exp $";
#endif
#endif /* not lint */
@@ -448,7 +448,7 @@ errorx(name)
}
void
-cleanup()
+cleanup(void)
{
char buf[MAXPATHLEN];
diff --git a/usr.sbin/route6d/route6d.c b/usr.sbin/route6d/route6d.c
index d523f5cd8b3..8d37509a120 100644
--- a/usr.sbin/route6d/route6d.c
+++ b/usr.sbin/route6d/route6d.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route6d.c,v 1.36 2003/04/22 09:57:04 itojun Exp $ */
+/* $OpenBSD: route6d.c,v 1.37 2003/06/28 20:37:30 deraadt Exp $ */
/* $KAME: route6d.c,v 1.94 2002/10/26 20:08:55 itojun Exp $ */
/*
@@ -31,7 +31,7 @@
*/
#if 0
-static char _rcsid[] = "$OpenBSD: route6d.c,v 1.36 2003/04/22 09:57:04 itojun Exp $";
+static char _rcsid[] = "$OpenBSD: route6d.c,v 1.37 2003/06/28 20:37:30 deraadt Exp $";
#endif
#include <stdio.h>
@@ -515,7 +515,7 @@ sighandler(signo)
*/
/* ARGSUSED */
void
-rtdexit()
+rtdexit(void)
{
struct riprt *rrt;
@@ -542,7 +542,7 @@ rtdexit()
*/
/* ARGSUSED */
void
-ripalarm()
+ripalarm(void)
{
struct ifc *ifcp;
struct riprt *rrt, *rrt_prev, *rrt_next;
@@ -582,7 +582,7 @@ ripalarm()
}
void
-init()
+init(void)
{
int i, error;
const int int0 = 0, int1 = 1, int255 = 255;
@@ -1058,7 +1058,7 @@ sendpacket(sin6, len)
* table if necessary.
*/
void
-riprecv()
+riprecv(void)
{
struct ifc *ifcp, *ic;
struct sockaddr_in6 fsock;
@@ -1402,7 +1402,7 @@ riprequest(ifcp, np, nn, sin6)
* Get information of each interface.
*/
void
-ifconfig()
+ifconfig(void)
{
struct ifaddrs *ifap, *ifa;
struct ifc *ifcp;
@@ -1555,7 +1555,7 @@ ifconfig1(name, sa, ifcp, s)
* Update interface information as necesssary.
*/
void
-rtrecv()
+rtrecv(void)
{
char buf[BUFSIZ];
char *p, *q;
@@ -3044,7 +3044,7 @@ rtdump(sig)
* -O 5f09:c400::/32,ef0,ef1 (only when match)
*/
void
-filterconfig()
+filterconfig(void)
{
int i;
char *p, *ap, *iflp, *ifname, *ep;
@@ -3331,7 +3331,7 @@ allocopy(p)
}
char *
-hms()
+hms(void)
{
static char buf[BUFSIZ];
time_t t;
@@ -3361,7 +3361,7 @@ ripinterval(timer)
}
time_t
-ripsuptrig()
+ripsuptrig(void)
{
time_t t;
@@ -3431,7 +3431,7 @@ trace(int level, const char *fmt, ...)
}
unsigned int
-if_maxindex()
+if_maxindex(void)
{
struct if_nameindex *p, *p0;
unsigned int max = 0;