summaryrefslogtreecommitdiffstats
path: root/sys/uvm/uvm_pdaemon.c
diff options
context:
space:
mode:
authoroga <oga@openbsd.org>2009-03-20 15:19:04 +0000
committeroga <oga@openbsd.org>2009-03-20 15:19:04 +0000
commit2023d59171f7ea46aa6f295790283df02155e095 (patch)
treeb48a89a15ad990ed35f224f5d0511d8bfacc9e46 /sys/uvm/uvm_pdaemon.c
parentMinor style nit; rnoland (freebsd). (diff)
downloadwireguard-openbsd-2023d59171f7ea46aa6f295790283df02155e095.tar.xz
wireguard-openbsd-2023d59171f7ea46aa6f295790283df02155e095.zip
While working on some stuff in uvm I've gotten REALLY sick of reading
K&R function declarations, so switch them all over to ansi-style, in accordance with the prophesy. "go for it" art@
Diffstat (limited to 'sys/uvm/uvm_pdaemon.c')
-rw-r--r--sys/uvm/uvm_pdaemon.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/uvm/uvm_pdaemon.c b/sys/uvm/uvm_pdaemon.c
index 695a07f8abe..c2846d03b4d 100644
--- a/sys/uvm/uvm_pdaemon.c
+++ b/sys/uvm/uvm_pdaemon.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_pdaemon.c,v 1.36 2009/01/12 19:03:12 miod Exp $ */
+/* $OpenBSD: uvm_pdaemon.c,v 1.37 2009/03/20 15:19:04 oga Exp $ */
/* $NetBSD: uvm_pdaemon.c,v 1.23 2000/08/20 10:24:14 bjh21 Exp $ */
/*
@@ -108,8 +108,7 @@ static void uvmpd_tune(void);
*/
void
-uvm_wait(wmsg)
- const char *wmsg;
+uvm_wait(const char *wmsg)
{
int timo = 0;
int s = splbio();
@@ -357,8 +356,7 @@ uvm_aiodone_daemon(void *arg)
*/
static boolean_t
-uvmpd_scan_inactive(pglst)
- struct pglist *pglst;
+uvmpd_scan_inactive(struct pglist *pglst)
{
boolean_t retval = FALSE; /* assume we haven't hit target */
int free, result;