Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev Mark bell_thread as static and dead.



details:   https://anonhg.NetBSD.org/src/rev/774a27dcbdfe
branches:  trunk
changeset: 349496:774a27dcbdfe
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Dec 12 10:46:39 2016 +0000

description:
Mark bell_thread as static and dead.

diffstat:

 sys/dev/spkr_synth.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r bcc1a9334920 -r 774a27dcbdfe sys/dev/spkr_synth.c
--- a/sys/dev/spkr_synth.c      Mon Dec 12 10:34:55 2016 +0000
+++ b/sys/dev/spkr_synth.c      Mon Dec 12 10:46:39 2016 +0000
@@ -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@localhost>
@@ -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 @@
        bool dying;
 };
 
-void bell_thread(void *);
+static void bell_thread(void *) __dead;
 static int beep_sysctl_device(SYSCTLFN_PROTO);
 
 #include <dev/audiobellvar.h>



Home | Main Index | Thread Index | Old Index