Module Name: src Committed By: joerg Date: Mon Dec 12 10:46:39 UTC 2016
Modified Files: src/sys/dev: spkr_synth.c Log Message: Mark bell_thread as static and dead. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/spkr_synth.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/spkr_synth.c diff -u src/sys/dev/spkr_synth.c:1.5 src/sys/dev/spkr_synth.c:1.6 --- src/sys/dev/spkr_synth.c:1.5 Fri Dec 9 13:26:11 2016 +++ src/sys/dev/spkr_synth.c Mon Dec 12 10:46:39 2016 @@ -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 <nathanialsl...@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>