fix compile errors & warnings
This commit is contained in:
parent
fdf25ce9ce
commit
aa8449a9ef
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: apm.c,v 1.9 1996/10/13 03:19:40 christos Exp $ */
|
||||
/* $NetBSD: apm.c,v 1.10 1996/10/16 01:12:18 jtk Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1995,1996 John T. Kohl. All rights reserved.
|
||||
|
@ -128,7 +128,7 @@ STATIC void apm_periodic_check __P((void *));
|
|||
STATIC void apm_disconnect __P((void *));
|
||||
#endif
|
||||
STATIC void apm_perror __P((const char *, struct apmregs *, ...))
|
||||
__printf_attribute__((__format__(__printf__,1,3)));
|
||||
__kprintf_attribute__((__format__(__printf__,1,3)));
|
||||
#if 0
|
||||
STATIC void apm_powmgt_enable __P((int));
|
||||
#endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: audio.c,v 1.31 1996/10/13 01:37:04 christos Exp $ */
|
||||
/* $NetBSD: audio.c,v 1.32 1996/10/16 01:12:22 jtk Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1991-1993 Regents of the University of California.
|
||||
|
@ -87,6 +87,8 @@
|
|||
#ifdef AUDIO_DEBUG
|
||||
#include <machine/stdarg.h>
|
||||
|
||||
void Dprintf __P((const char *, ...));
|
||||
|
||||
void
|
||||
#ifdef __STDC__
|
||||
Dprintf(const char *fmt, ...)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ad1848.c,v 1.12 1996/10/13 01:37:32 christos Exp $ */
|
||||
/* $NetBSD: ad1848.c,v 1.13 1996/10/16 01:12:25 jtk Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 John Brezak
|
||||
|
@ -241,6 +241,8 @@ wait_for_calibration(sc)
|
|||
}
|
||||
|
||||
#ifdef AUDIO_DEBUG
|
||||
void ad1848_dump_regs __P((struct ad1848_softc *));
|
||||
|
||||
void
|
||||
ad1848_dump_regs(sc)
|
||||
struct ad1848_softc *sc;
|
||||
|
|
Loading…
Reference in New Issue