summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/sound/gus_card.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1993-11-25 01:38:01 +0000
committerwollman <wollman@FreeBSD.org>1993-11-25 01:38:01 +0000
commit8e24073a9b2dcc5fd2bcd719dd679f029d4818cb (patch)
tree5f254571daeb319e5d462e9932f7aff4e6b7ee40 /sys/i386/isa/sound/gus_card.c
parent5465ba6a252350e2c96e04cb61af6d77a3d8d66e (diff)
downloadFreeBSD-src-8e24073a9b2dcc5fd2bcd719dd679f029d4818cb.zip
FreeBSD-src-8e24073a9b2dcc5fd2bcd719dd679f029d4818cb.tar.gz
Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, and
add same (sans -Werror) to Makefile for future compilations.
Diffstat (limited to 'sys/i386/isa/sound/gus_card.c')
-rw-r--r--sys/i386/isa/sound/gus_card.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/sound/gus_card.c b/sys/i386/isa/sound/gus_card.c
index 751b74f..414034d 100644
--- a/sys/i386/isa/sound/gus_card.c
+++ b/sys/i386/isa/sound/gus_card.c
@@ -40,7 +40,7 @@ int gus_base, gus_irq, gus_dma;
static int
set_gus_irq (int interrupt_level)
{
- int retcode;
+ int retcode = EINVAL;
#ifdef linux
struct sigaction sa;
@@ -72,7 +72,7 @@ set_gus_irq (int interrupt_level)
int
gus_set_midi_irq (int interrupt_level)
{
- int retcode;
+ int retcode = EINVAL;
#ifdef linux
struct sigaction sa;
OpenPOWER on IntegriCloud