Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pad sprinke __diagused
details: https://anonhg.NetBSD.org/src/rev/5fe2bb1e4f5f
branches: trunk
changeset: 791051:5fe2bb1e4f5f
user: christos <christos%NetBSD.org@localhost>
date: Sat Nov 02 00:37:12 2013 +0000
description:
sprinke __diagused
diffstat:
sys/dev/pad/pad.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (72 lines):
diff -r 0e2259a230cc -r 5fe2bb1e4f5f sys/dev/pad/pad.c
--- a/sys/dev/pad/pad.c Fri Nov 01 23:22:13 2013 +0000
+++ b/sys/dev/pad/pad.c Sat Nov 02 00:37:12 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pad.c,v 1.19 2011/11/24 01:54:08 agc Exp $ */
+/* $NetBSD: pad.c,v 1.20 2013/11/02 00:37:12 christos Exp $ */
/*-
* Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pad.c,v 1.19 2011/11/24 01:54:08 agc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pad.c,v 1.20 2013/11/02 00:37:12 christos Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -401,7 +401,7 @@
audio_params_t *play, audio_params_t *rec,
stream_filter_list_t *pfil, stream_filter_list_t *rfil)
{
- pad_softc_t *sc;
+ pad_softc_t *sc __diagused;
sc = (pad_softc_t *)opaque;
@@ -458,7 +458,7 @@
pad_start_input(void *opaque, void *block, int blksize,
void (*intr)(void *), void *intrarg)
{
- pad_softc_t *sc;
+ pad_softc_t *sc __diagused;
sc = (pad_softc_t *)opaque;
@@ -487,7 +487,7 @@
static int
pad_halt_input(void *opaque)
{
- pad_softc_t *sc;
+ pad_softc_t *sc __diagused;
sc = (pad_softc_t *)opaque;
@@ -547,7 +547,7 @@
static int
pad_query_devinfo(void *opaque, mixer_devinfo_t *di)
{
- pad_softc_t *sc;
+ pad_softc_t *sc __diagused;
sc = (pad_softc_t *)opaque;
@@ -590,7 +590,7 @@
static int
pad_get_props(void *opaque)
{
- pad_softc_t *sc;
+ pad_softc_t *sc __diagused;
sc = (pad_softc_t *)opaque;
@@ -603,7 +603,7 @@
pad_round_blocksize(void *opaque, int blksize, int mode,
const audio_params_t *p)
{
- pad_softc_t *sc;
+ pad_softc_t *sc __diagused;
sc = (pad_softc_t *)opaque;
KASSERT(mutex_owned(&sc->sc_lock));
Home |
Main Index |
Thread Index |
Old Index