diff options
| author | christos <christos@NetBSD.org> | 2006-10-12 01:30:41 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2006-10-12 01:30:41 +0000 |
| commit | 4d595fd7b1f2465e7140a9854800f9352404338d (patch) | |
| tree | e015cf24372a2b1091ac2a089416f83cc04c48a7 /sys/dev/microcode | |
| parent | 9ac35e8640a9506f14820cdb82667b92982a16f2 (diff) | |
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Diffstat (limited to 'sys/dev/microcode')
| -rw-r--r-- | sys/dev/microcode/aic7xxx/aic79xx_seq.h | 2 | ||||
| -rw-r--r-- | sys/dev/microcode/aic7xxx/aic7xxx_seq.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/microcode/aic7xxx/aic79xx_seq.h b/sys/dev/microcode/aic7xxx/aic79xx_seq.h index 56fe0c9bcb3..504e515121c 100644 --- a/sys/dev/microcode/aic7xxx/aic79xx_seq.h +++ b/sys/dev/microcode/aic7xxx/aic79xx_seq.h @@ -973,7 +973,7 @@ ahd_patch1_func(struct ahd_softc *ahd) static ahd_patch_func_t ahd_patch0_func; static int -ahd_patch0_func(struct ahd_softc *ahd) +ahd_patch0_func(struct ahd_softc *ahd __unused) { return (0); } diff --git a/sys/dev/microcode/aic7xxx/aic7xxx_seq.h b/sys/dev/microcode/aic7xxx/aic7xxx_seq.h index c6031946bdb..dd62a84b54f 100644 --- a/sys/dev/microcode/aic7xxx/aic7xxx_seq.h +++ b/sys/dev/microcode/aic7xxx/aic7xxx_seq.h @@ -2,8 +2,8 @@ * DO NOT EDIT - This file is automatically generated * from the following source files: * - * $NetBSD: aic7xxx_seq.h,v 1.9 2003/04/19 19:27:50 fvdl Exp $ - * $NetBSD: aic7xxx_seq.h,v 1.9 2003/04/19 19:27:50 fvdl Exp $ + * $NetBSD: aic7xxx_seq.h,v 1.10 2006/10/12 01:31:25 christos Exp $ + * $NetBSD: aic7xxx_seq.h,v 1.10 2006/10/12 01:31:25 christos Exp $ */ static uint8_t seqprog[] = { 0xb2, 0x00, 0x00, 0x08, @@ -1085,7 +1085,7 @@ ahc_patch1_func(struct ahc_softc *ahc) static ahc_patch_func_t ahc_patch0_func; static int -ahc_patch0_func(struct ahc_softc *ahc) +ahc_patch0_func(struct ahc_softc *ahc __unused) { return (0); } |
