summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaddy <naddy@openbsd.org>2016-03-07 18:43:59 +0000
committernaddy <naddy@openbsd.org>2016-03-07 18:43:59 +0000
commitc799dc6db0ca90a942c4bb0e104bed8cbd2fce92 (patch)
treeab9afe55e9549f5a91f549c25acd444f2bddece6
parentMake __fd_isset() take a const fd_set * param, to avoid upsetting c++ (diff)
downloadwireguard-openbsd-c799dc6db0ca90a942c4bb0e104bed8cbd2fce92.tar.xz
wireguard-openbsd-c799dc6db0ca90a942c4bb0e104bed8cbd2fce92.zip
Sync no-argument function declaration and definition by adding (void).
ok mpi@ millert@
-rw-r--r--sys/ddb/db_dwarf.c4
-rw-r--r--sys/dev/pci/mpii.c6
-rw-r--r--sys/isofs/cd9660/cd9660_vfsops.c4
-rw-r--r--sys/kern/kgdb_stub.c4
-rw-r--r--sys/kern/vfs_cache.c4
-rw-r--r--sys/lib/libkern/__main.c4
-rw-r--r--sys/lib/libkern/arch/powerpc/__eabi.c4
-rw-r--r--sys/net/if.c6
-rw-r--r--sys/net/route.c4
-rw-r--r--sys/netinet/ip_ah.c4
-rw-r--r--sys/netinet/ip_divert.c4
-rw-r--r--sys/netinet/ip_esp.c4
-rw-r--r--sys/netinet/ip_ipip.c4
-rw-r--r--sys/netinet/ip_mroute.c4
-rw-r--r--sys/netinet/raw_ip.c4
-rw-r--r--sys/netinet/tcp_input.c4
-rw-r--r--sys/netinet/tcp_subr.c6
-rw-r--r--sys/netinet/tcp_timer.c4
-rw-r--r--sys/netinet/udp_usrreq.c4
-rw-r--r--sys/netinet6/frag6.c6
-rw-r--r--sys/netinet6/ip6_divert.c4
-rw-r--r--sys/netinet6/mld6.c4
-rw-r--r--sys/netinet6/raw_ip6.c4
-rw-r--r--sys/scsi/scsi_base.c4
-rw-r--r--sys/uvm/uvm_addr.c4
-rw-r--r--sys/uvm/uvm_fault.c4
26 files changed, 56 insertions, 56 deletions
diff --git a/sys/ddb/db_dwarf.c b/sys/ddb/db_dwarf.c
index 83620061e44..0151a083442 100644
--- a/sys/ddb/db_dwarf.c
+++ b/sys/ddb/db_dwarf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_dwarf.c,v 1.3 2016/01/25 14:30:30 mpi Exp $ */
+/* $OpenBSD: db_dwarf.c,v 1.4 2016/03/07 18:43:59 naddy Exp $ */
/*
* Copyright (c) 2014 Matthew Dempsky <matthew@dempsky.org>
*
@@ -414,7 +414,7 @@ next:
#endif /* !ELFDATA */
static void
-usage()
+usage(void)
{
extern const char *__progname;
errx(1, "usage: %s [-s] [-e filename] [addr addr ...]", __progname);
diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c
index 862bfd1361c..f0b2e200e60 100644
--- a/sys/dev/pci/mpii.c
+++ b/sys/dev/pci/mpii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpii.c,v 1.101 2015/03/18 12:23:25 mikeb Exp $ */
+/* $OpenBSD: mpii.c,v 1.102 2016/03/07 18:43:59 naddy Exp $ */
/*
* Copyright (c) 2010, 2012 Mike Belopuhov
* Copyright (c) 2009 James Giannoules
@@ -2983,9 +2983,9 @@ mpii_scsi_cmd_done(struct mpii_ccb *ccb)
mpii_push_reply(sc, ccb->ccb_rcb);
done:
-KERNEL_LOCK();
+ KERNEL_LOCK();
scsi_done(xs);
-KERNEL_UNLOCK();
+ KERNEL_UNLOCK();
}
int
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c
index 659c5ec8579..c5c3172ba0b 100644
--- a/sys/isofs/cd9660/cd9660_vfsops.c
+++ b/sys/isofs/cd9660/cd9660_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd9660_vfsops.c,v 1.72 2016/02/27 18:50:38 natano Exp $ */
+/* $OpenBSD: cd9660_vfsops.c,v 1.73 2016/03/07 18:43:59 naddy Exp $ */
/* $NetBSD: cd9660_vfsops.c,v 1.26 1997/06/13 15:38:58 pk Exp $ */
/*-
@@ -86,7 +86,7 @@ int iso_disklabelspoof(dev_t dev, void (*strat)(struct buf *),
struct disklabel *lp);
int
-cd9660_mountroot()
+cd9660_mountroot(void)
{
struct mount *mp;
extern struct vnode *rootvp;
diff --git a/sys/kern/kgdb_stub.c b/sys/kern/kgdb_stub.c
index 1907041968a..947c4f39ac9 100644
--- a/sys/kern/kgdb_stub.c
+++ b/sys/kern/kgdb_stub.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kgdb_stub.c,v 1.9 2010/10/30 04:17:07 tedu Exp $ */
+/* $OpenBSD: kgdb_stub.c,v 1.10 2016/03/07 18:43:59 naddy Exp $ */
/* $NetBSD: kgdb_stub.c,v 1.6 1998/08/30 20:30:57 scottr Exp $ */
/*
@@ -531,7 +531,7 @@ kgdb_connect(int verbose)
* (This is called by panic, like Debugger())
*/
void
-kgdb_panic()
+kgdb_panic(void)
{
if (kgdb_dev >= 0 && kgdb_debug_panic) {
printf("entering kgdb\n");
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index 5429e87e424..973cda3d7fd 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_cache.c,v 1.47 2015/03/14 03:38:51 jsg Exp $ */
+/* $OpenBSD: vfs_cache.c,v 1.48 2016/03/07 18:43:59 naddy Exp $ */
/* $NetBSD: vfs_cache.c,v 1.13 1996/02/04 02:18:09 christos Exp $ */
/*
@@ -413,7 +413,7 @@ done:
* Name cache initialization, from vfs_init() when we are booting
*/
void
-nchinit()
+nchinit(void)
{
TAILQ_INIT(&nclruhead);
TAILQ_INIT(&nclruneghead);
diff --git a/sys/lib/libkern/__main.c b/sys/lib/libkern/__main.c
index 34e17f9126f..5a827517cb0 100644
--- a/sys/lib/libkern/__main.c
+++ b/sys/lib/libkern/__main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: __main.c,v 1.3 2002/03/14 01:27:07 millert Exp $ */
+/* $OpenBSD: __main.c,v 1.4 2016/03/07 18:43:59 naddy Exp $ */
/* $NetBSD: __main.c,v 1.4 1996/03/14 18:52:03 christos Exp $ */
/*
@@ -36,6 +36,6 @@
void __main(void);
void
-__main()
+__main(void)
{
}
diff --git a/sys/lib/libkern/arch/powerpc/__eabi.c b/sys/lib/libkern/arch/powerpc/__eabi.c
index dac0138e6fa..788460c118a 100644
--- a/sys/lib/libkern/arch/powerpc/__eabi.c
+++ b/sys/lib/libkern/arch/powerpc/__eabi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: __eabi.c,v 1.5 2012/12/05 23:20:22 deraadt Exp $ */
+/* $OpenBSD: __eabi.c,v 1.6 2016/03/07 18:44:00 naddy Exp $ */
/* $NetBSD: __main.c,v 1.3 1994/10/26 06:42:13 cgd Exp $ */
/*
@@ -36,6 +36,6 @@
void __eabi(void);
void
-__eabi()
+__eabi(void)
{
}
diff --git a/sys/net/if.c b/sys/net/if.c
index 0823badc37f..776f9abea14 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.427 2016/03/02 00:00:16 dlg Exp $ */
+/* $OpenBSD: if.c,v 1.428 2016/03/07 18:44:00 naddy Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@ -225,7 +225,7 @@ struct taskq *softnettq;
* parameters.
*/
void
-ifinit()
+ifinit(void)
{
/*
* most machines boot with 4 or 5 interfaces, so size the initial map
@@ -2555,7 +2555,7 @@ net_tick(void *null)
}
int
-net_livelocked()
+net_livelocked(void)
{
extern int ticks;
diff --git a/sys/net/route.c b/sys/net/route.c
index a538ff15f79..d301f5ec1f7 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.295 2016/02/26 07:54:39 deraadt Exp $ */
+/* $OpenBSD: route.c,v 1.296 2016/03/07 18:44:00 naddy Exp $ */
/* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */
/*
@@ -1441,7 +1441,7 @@ static int rt_init_done = 0;
*/
void
-rt_timer_init()
+rt_timer_init(void)
{
static struct timeout rt_timer_timeout;
diff --git a/sys/netinet/ip_ah.c b/sys/netinet/ip_ah.c
index 17dc5bedd21..92105cf27d6 100644
--- a/sys/netinet/ip_ah.c
+++ b/sys/netinet/ip_ah.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ah.c,v 1.118 2015/07/15 22:16:42 deraadt Exp $ */
+/* $OpenBSD: ip_ah.c,v 1.119 2016/03/07 18:44:00 naddy Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -89,7 +89,7 @@ unsigned char ipseczeroes[IPSEC_ZEROES_SIZE]; /* zeroes! */
* ah_attach() is called from the transformation initialization code.
*/
int
-ah_attach()
+ah_attach(void)
{
return 0;
}
diff --git a/sys/netinet/ip_divert.c b/sys/netinet/ip_divert.c
index 6e036e51a4d..c737fbbe93c 100644
--- a/sys/netinet/ip_divert.c
+++ b/sys/netinet/ip_divert.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_divert.c,v 1.38 2015/09/09 20:15:52 dlg Exp $ */
+/* $OpenBSD: ip_divert.c,v 1.39 2016/03/07 18:44:00 naddy Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
@@ -67,7 +67,7 @@ void divert_detach(struct inpcb *);
int divert_output(struct inpcb *, struct mbuf *, struct mbuf *,
struct mbuf *);
void
-divert_init()
+divert_init(void)
{
in_pcbinit(&divbtable, divbhashsize);
}
diff --git a/sys/netinet/ip_esp.c b/sys/netinet/ip_esp.c
index 02e6693396f..48a555f3edf 100644
--- a/sys/netinet/ip_esp.c
+++ b/sys/netinet/ip_esp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_esp.c,v 1.136 2015/12/09 21:41:50 naddy Exp $ */
+/* $OpenBSD: ip_esp.c,v 1.137 2016/03/07 18:44:00 naddy Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -84,7 +84,7 @@ struct espstat espstat;
* esp_attach() is called from the transformation initialization code.
*/
int
-esp_attach()
+esp_attach(void)
{
return 0;
}
diff --git a/sys/netinet/ip_ipip.c b/sys/netinet/ip_ipip.c
index a4878d72143..b5d4bf520ce 100644
--- a/sys/netinet/ip_ipip.c
+++ b/sys/netinet/ip_ipip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipip.c,v 1.68 2016/01/22 11:14:58 jsg Exp $ */
+/* $OpenBSD: ip_ipip.c,v 1.69 2016/03/07 18:44:00 naddy Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -592,7 +592,7 @@ ipip_output(struct mbuf *m, struct tdb *tdb, struct mbuf **mp, int dummy,
#ifdef IPSEC
int
-ipe4_attach()
+ipe4_attach(void)
{
return 0;
}
diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c
index 1b831a9ddd4..1548c0229eb 100644
--- a/sys/netinet/ip_mroute.c
+++ b/sys/netinet/ip_mroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_mroute.c,v 1.89 2015/11/14 15:54:27 mpi Exp $ */
+/* $OpenBSD: ip_mroute.c,v 1.90 2016/03/07 18:44:00 naddy Exp $ */
/* $NetBSD: ip_mroute.c,v 1.85 2004/04/26 01:31:57 matt Exp $ */
/*
@@ -572,7 +572,7 @@ _mfchash(struct in_addr o, struct in_addr g)
* Disable multicast routing
*/
int
-ip_mrouter_done()
+ip_mrouter_done(void)
{
vifi_t vifi;
struct vif *vifp;
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c
index ace38bf2735..6c351200d80 100644
--- a/sys/netinet/raw_ip.c
+++ b/sys/netinet/raw_ip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: raw_ip.c,v 1.85 2015/12/03 14:55:18 vgross Exp $ */
+/* $OpenBSD: raw_ip.c,v 1.86 2016/03/07 18:44:00 naddy Exp $ */
/* $NetBSD: raw_ip.c,v 1.25 1996/02/18 18:58:33 christos Exp $ */
/*
@@ -107,7 +107,7 @@ struct inpcbtable rawcbtable;
* Initialize raw connection block q.
*/
void
-rip_init()
+rip_init(void)
{
in_pcbinit(&rawcbtable, 1);
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 3fa82c5b593..b367d703ca6 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.313 2016/01/22 11:10:17 jsg Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.314 2016/03/07 18:44:00 naddy Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -3346,7 +3346,7 @@ do { \
#define SYN_CACHE_TIMESTAMP(sc) tcp_now + (sc)->sc_modulate
void
-syn_cache_init()
+syn_cache_init(void)
{
int i;
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index e79fcd2df1c..99b877295a7 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_subr.c,v 1.150 2015/10/24 16:08:48 mpi Exp $ */
+/* $OpenBSD: tcp_subr.c,v 1.151 2016/03/07 18:44:00 naddy Exp $ */
/* $NetBSD: tcp_subr.c,v 1.22 1996/02/13 23:44:00 christos Exp $ */
/*
@@ -138,7 +138,7 @@ tcp_seq tcp_iss;
* Tcp initialization
*/
void
-tcp_init()
+tcp_init(void)
{
tcp_iss = 1; /* wrong */
pool_init(&tcpcb_pool, sizeof(struct tcpcb), 0, 0, 0, "tcpcb", NULL);
@@ -980,7 +980,7 @@ tcp_set_iss_tsm(struct tcpcb *tp)
#ifdef TCP_SIGNATURE
int
-tcp_signature_tdb_attach()
+tcp_signature_tdb_attach(void)
{
return (0);
}
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c
index 2a711011e97..1e6c76aedc6 100644
--- a/sys/netinet/tcp_timer.c
+++ b/sys/netinet/tcp_timer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_timer.c,v 1.48 2014/07/22 11:06:10 mpi Exp $ */
+/* $OpenBSD: tcp_timer.c,v 1.49 2016/03/07 18:44:00 naddy Exp $ */
/* $NetBSD: tcp_timer.c,v 1.14 1996/02/13 23:44:09 christos Exp $ */
/*
@@ -129,7 +129,7 @@ tcp_delack(void *arg)
* causes finite state machine actions if timers expire.
*/
void
-tcp_slowtimo()
+tcp_slowtimo(void)
{
int s;
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index c365068341b..ed6d63d5db8 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udp_usrreq.c,v 1.208 2015/12/03 14:05:28 bluhm Exp $ */
+/* $OpenBSD: udp_usrreq.c,v 1.209 2016/03/07 18:44:00 naddy Exp $ */
/* $NetBSD: udp_usrreq.c,v 1.28 1996/03/16 23:54:03 christos Exp $ */
/*
@@ -140,7 +140,7 @@ void udp_notify(struct inpcb *, int);
#endif
void
-udp_init()
+udp_init(void)
{
in_pcbinit(&udbtable, UDB_INITIAL_HASH_SIZE);
}
diff --git a/sys/netinet6/frag6.c b/sys/netinet6/frag6.c
index c95c1f84797..a15f95533b1 100644
--- a/sys/netinet6/frag6.c
+++ b/sys/netinet6/frag6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: frag6.c,v 1.66 2015/12/03 13:13:04 tedu Exp $ */
+/* $OpenBSD: frag6.c,v 1.67 2016/03/07 18:44:00 naddy Exp $ */
/* $KAME: frag6.c,v 1.40 2002/05/27 21:40:31 itojun Exp $ */
/*
@@ -64,7 +64,7 @@ static __inline int ip6q_lock_try(void);
static __inline void ip6q_unlock(void);
static __inline int
-ip6q_lock_try()
+ip6q_lock_try(void)
{
int s;
@@ -80,7 +80,7 @@ ip6q_lock_try()
}
static __inline void
-ip6q_unlock()
+ip6q_unlock(void)
{
int s;
diff --git a/sys/netinet6/ip6_divert.c b/sys/netinet6/ip6_divert.c
index 0349ded5abf..02dd7fbe8cb 100644
--- a/sys/netinet6/ip6_divert.c
+++ b/sys/netinet6/ip6_divert.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_divert.c,v 1.38 2015/09/11 08:17:06 claudio Exp $ */
+/* $OpenBSD: ip6_divert.c,v 1.39 2016/03/07 18:44:00 naddy Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
@@ -69,7 +69,7 @@ int divert6_output(struct inpcb *, struct mbuf *, struct mbuf *,
struct mbuf *);
void
-divert6_init()
+divert6_init(void)
{
in_pcbinit(&divb6table, divb6hashsize);
}
diff --git a/sys/netinet6/mld6.c b/sys/netinet6/mld6.c
index d9aa23a6cb1..b41d086ceb6 100644
--- a/sys/netinet6/mld6.c
+++ b/sys/netinet6/mld6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mld6.c,v 1.46 2015/09/12 13:34:12 mpi Exp $ */
+/* $OpenBSD: mld6.c,v 1.47 2016/03/07 18:44:00 naddy Exp $ */
/* $KAME: mld6.c,v 1.26 2001/02/16 14:50:35 itojun Exp $ */
/*
@@ -93,7 +93,7 @@ void mld6_checktimer(struct ifnet *);
static void mld6_sendpkt(struct in6_multi *, int, const struct in6_addr *);
void
-mld6_init()
+mld6_init(void)
{
static u_int8_t hbh_buf[8];
struct ip6_hbh *hbh = (struct ip6_hbh *)hbh_buf;
diff --git a/sys/netinet6/raw_ip6.c b/sys/netinet6/raw_ip6.c
index 2d4a81637e8..5bc2a09d730 100644
--- a/sys/netinet6/raw_ip6.c
+++ b/sys/netinet6/raw_ip6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: raw_ip6.c,v 1.87 2015/11/24 13:37:16 mpi Exp $ */
+/* $OpenBSD: raw_ip6.c,v 1.88 2016/03/07 18:44:00 naddy Exp $ */
/* $KAME: raw_ip6.c,v 1.69 2001/03/04 15:55:44 itojun Exp $ */
/*
@@ -109,7 +109,7 @@ struct rip6stat rip6stat;
* Initialize raw connection block queue.
*/
void
-rip6_init()
+rip6_init(void)
{
in_pcbinit(&rawin6pcbtable, 1);
diff --git a/sys/scsi/scsi_base.c b/sys/scsi/scsi_base.c
index ce4f41f426b..cf9c6fb3dc2 100644
--- a/sys/scsi/scsi_base.c
+++ b/sys/scsi/scsi_base.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsi_base.c,v 1.221 2015/06/07 19:13:27 krw Exp $ */
+/* $OpenBSD: scsi_base.c,v 1.222 2016/03/07 18:44:00 naddy Exp $ */
/* $NetBSD: scsi_base.c,v 1.43 1997/04/02 02:29:36 mycroft Exp $ */
/*
@@ -112,7 +112,7 @@ void scsi_xs_get_done(void *, void *);
* Called when a scsibus is attached to initialize global data.
*/
void
-scsi_init()
+scsi_init(void)
{
static int scsi_init_done;
diff --git a/sys/uvm/uvm_addr.c b/sys/uvm/uvm_addr.c
index 1a7377c0d69..e4f4643228d 100644
--- a/sys/uvm/uvm_addr.c
+++ b/sys/uvm/uvm_addr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_addr.c,v 1.14 2015/07/17 21:56:14 kettenis Exp $ */
+/* $OpenBSD: uvm_addr.c,v 1.15 2016/03/07 18:44:00 naddy Exp $ */
/*
* Copyright (c) 2011 Ariane van der Steldt <ariane@stack.nl>
@@ -1019,7 +1019,7 @@ const struct uvm_addr_functions uaddr_pivot_functions = {
* The random function has a slightly higher change to return a small number.
*/
vsize_t
-uaddr_pivot_random()
+uaddr_pivot_random(void)
{
int r;
diff --git a/sys/uvm/uvm_fault.c b/sys/uvm/uvm_fault.c
index eadd1c9690b..99d270ccdee 100644
--- a/sys/uvm/uvm_fault.c
+++ b/sys/uvm/uvm_fault.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_fault.c,v 1.87 2015/11/10 08:21:28 mlarkin Exp $ */
+/* $OpenBSD: uvm_fault.c,v 1.88 2016/03/07 18:44:00 naddy Exp $ */
/* $NetBSD: uvm_fault.c,v 1.51 2000/08/06 00:22:53 thorpej Exp $ */
/*
@@ -198,7 +198,7 @@ uvmfault_anonflush(struct vm_anon **anons, int n)
* uvmfault_init: compute proper values for the uvmadvice[] array.
*/
void
-uvmfault_init()
+uvmfault_init(void)
{
int npages;