summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2016-12-12 10:46:39 +0000
committerjoerg <joerg@NetBSD.org>2016-12-12 10:46:39 +0000
commit0a0093ae4b084651d69262e832ceb59e37490ab3 (patch)
tree51c9ec34ff8dc6316d67209c6ccf790db6412716 /sys/dev
parente36badb644a387ed4bf39a9fd47c5d4f67fa4f27 (diff)
Mark bell_thread as static and dead.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/spkr_synth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/spkr_synth.c b/sys/dev/spkr_synth.c
index ef1fd7f2bac..ace23f64d3d 100644
--- a/sys/dev/spkr_synth.c
+++ b/sys/dev/spkr_synth.c
@@ -1,4 +1,4 @@
-/* $NetBSD: spkr_synth.c,v 1.5 2016/12/09 13:26:11 christos Exp $ */
+/* $NetBSD: spkr_synth.c,v 1.6 2016/12/12 10:46:39 joerg Exp $ */
/*-
* Copyright (c) 2016 Nathanial Sloss <nathanialsloss@yahoo.com.au>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spkr_synth.c,v 1.5 2016/12/09 13:26:11 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spkr_synth.c,v 1.6 2016/12/12 10:46:39 joerg Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -55,7 +55,7 @@ struct vbell_args {
bool dying;
};
-void bell_thread(void *);
+static void bell_thread(void *) __dead;
static int beep_sysctl_device(SYSCTLFN_PROTO);
#include <dev/audiobellvar.h>