diff options
| author | joerg <joerg@NetBSD.org> | 2016-12-12 10:46:39 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2016-12-12 10:46:39 +0000 |
| commit | 0a0093ae4b084651d69262e832ceb59e37490ab3 (patch) | |
| tree | 51c9ec34ff8dc6316d67209c6ccf790db6412716 /sys/dev | |
| parent | e36badb644a387ed4bf39a9fd47c5d4f67fa4f27 (diff) | |
Mark bell_thread as static and dead.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/spkr_synth.c | 6 |
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> |
