summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2016-03-07 18:44:01 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2016-03-07 18:44:01 +0000
commitc8fbd71a189dbc354a53d4c0b9bd58dee68e1f59 (patch)
tree843670be54048f650782caf5d7e8f636539239a3 /sys/kern
parentb9a94269d3b6b5409fd5a111d272087c7af120a6 (diff)
Sync no-argument function declaration and definition by adding (void).
ok mpi@ millert@
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kgdb_stub.c4
-rw-r--r--sys/kern/vfs_cache.c4
2 files changed, 4 insertions, 4 deletions
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);