diff options
author | 1996-06-04 12:48:14 +0000 | |
---|---|---|
committer | 1996-06-04 12:48:14 +0000 | |
commit | 5e0fd4ed70cddcdf694b512539d11927e3e2a6b4 (patch) | |
tree | 9dfb4c07715b03a70fcad12d3caecf80e84ef62b | |
parent | Oops, screwed up the $OpenBSD$ IDs (diff) | |
download | wireguard-openbsd-5e0fd4ed70cddcdf694b512539d11927e3e2a6b4.tar.xz wireguard-openbsd-5e0fd4ed70cddcdf694b512539d11927e3e2a6b4.zip |
Cleanup for -Wall -Wstrict-prototypes
-rw-r--r-- | sys/arch/amiga/amiga/cc.c | 6 | ||||
-rw-r--r-- | sys/arch/amiga/amiga/cc.h | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/amiga/amiga/cc.c b/sys/arch/amiga/amiga/cc.c index f04b5420444..375f07678ff 100644 --- a/sys/arch/amiga/amiga/cc.c +++ b/sys/arch/amiga/amiga/cc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cc.c,v 1.4 1996/05/02 06:43:12 niklas Exp $ */ +/* $OpenBSD: cc.c,v 1.5 1996/06/04 12:48:14 niklas Exp $ */ /* $NetBSD: cc.c,v 1.9 1996/04/21 21:06:50 veego Exp $ */ /* @@ -44,6 +44,8 @@ #define INLINE #endif +void defchannel_handler __P((int)); + /* init all the "custom chips" */ void custom_chips_init() @@ -339,7 +341,6 @@ void cc_init_audio() { int i; - extern int defchannel_handler(); /* * disable all audio interupts @@ -420,6 +421,7 @@ out: * other software modules are free to install their own * handler */ +void defchannel_handler(i) int i; { diff --git a/sys/arch/amiga/amiga/cc.h b/sys/arch/amiga/amiga/cc.h index 9f88f467a24..6a0157bf5a4 100644 --- a/sys/arch/amiga/amiga/cc.h +++ b/sys/arch/amiga/amiga/cc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cc.h,v 1.3 1996/05/02 06:43:13 niklas Exp $ */ +/* $OpenBSD: cc.h,v 1.4 1996/06/04 12:48:15 niklas Exp $ */ /* $NetBSD: cc.h,v 1.7 1996/04/21 21:06:52 veego Exp $ */ /* @@ -148,7 +148,7 @@ vm_offset_t chipmem_end; #define CHIPMEMTOP (0x00200000) #define NCHIPMEMPG btoc(CHIPMEMTOP - CHIPMEMBASE) -typedef int (*handler_func_t)(); +typedef void (*handler_func_t) __P((int)); /* * Prototypes. |