diff options
| author | thorpej <thorpej@NetBSD.org> | 2003-05-10 16:12:02 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2003-05-10 16:12:02 +0000 |
| commit | 2a90e2a9c97217d7ac21859ab2603f1f61ba230a (patch) | |
| tree | f8c780a942f19f7a16eb3106e48da8ac6bc37f8d /sys | |
| parent | 64e9f09f51af454990a1bc299af53e29d10488fe (diff) | |
Remove redundant bounds_check_with_label() prototype.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/arch/amd64/include/disklabel.h | 7 | ||||
| -rw-r--r-- | sys/arch/arc/include/disklabel.h | 7 | ||||
| -rw-r--r-- | sys/arch/arm/include/disklabel.h | 3 | ||||
| -rw-r--r-- | sys/arch/atari/include/cpu.h | 9 | ||||
| -rw-r--r-- | sys/arch/bebox/include/disklabel.h | 7 | ||||
| -rw-r--r-- | sys/arch/evbppc/include/disklabel.h | 7 | ||||
| -rw-r--r-- | sys/arch/hpcarm/include/disklabel.h | 7 | ||||
| -rw-r--r-- | sys/arch/hpcmips/include/disklabel.h | 7 | ||||
| -rw-r--r-- | sys/arch/i386/include/disklabel.h | 7 | ||||
| -rw-r--r-- | sys/arch/macppc/include/disklabel.h | 7 | ||||
| -rw-r--r-- | sys/arch/mvmeppc/include/disklabel.h | 7 | ||||
| -rw-r--r-- | sys/arch/ofppc/include/disklabel.h | 7 | ||||
| -rw-r--r-- | sys/arch/pmppc/include/disklabel.h | 7 | ||||
| -rw-r--r-- | sys/arch/prep/include/disklabel.h | 7 | ||||
| -rw-r--r-- | sys/arch/sandpoint/include/disklabel.h | 7 |
15 files changed, 15 insertions, 88 deletions
diff --git a/sys/arch/amd64/include/disklabel.h b/sys/arch/amd64/include/disklabel.h index 291b61b1b66..999b48c78e6 100644 --- a/sys/arch/amd64/include/disklabel.h +++ b/sys/arch/amd64/include/disklabel.h @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.h,v 1.1 2003/04/26 18:39:39 fvdl Exp $ */ +/* $NetBSD: disklabel.h,v 1.2 2003/05/10 16:12:02 thorpej Exp $ */ /* * Copyright (c) 1994 Christopher G. Demetriou @@ -54,9 +54,4 @@ struct cpu_disklabel { }; #endif -#ifdef _KERNEL -struct disklabel; -int bounds_check_with_label __P((struct buf *, struct disklabel *, int)); -#endif - #endif /* _MACHINE_DISKLABEL_H_ */ diff --git a/sys/arch/arc/include/disklabel.h b/sys/arch/arc/include/disklabel.h index 449888e868d..37f6b142d53 100644 --- a/sys/arch/arc/include/disklabel.h +++ b/sys/arch/arc/include/disklabel.h @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.h,v 1.5 2000/02/22 11:26:02 soda Exp $ */ +/* $NetBSD: disklabel.h,v 1.6 2003/05/10 16:12:02 thorpej Exp $ */ /* $OpenBSD: disklabel.h,v 1.14 1999/03/23 16:36:17 millert Exp $ */ /* NetBSD: disklabel.h,v 1.3 1996/03/09 20:52:54 ghudson Exp */ @@ -54,9 +54,4 @@ struct cpu_disklabel { struct dkbad bad; }; -#ifdef _KERNEL -struct disklabel; -int bounds_check_with_label __P((struct buf *, struct disklabel *, int)); -#endif - #endif /* _MACHINE_DISKLABEL_H_ */ diff --git a/sys/arch/arm/include/disklabel.h b/sys/arch/arm/include/disklabel.h index c47d1401a74..89254499092 100644 --- a/sys/arch/arm/include/disklabel.h +++ b/sys/arch/arm/include/disklabel.h @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.h,v 1.2 2001/11/25 19:02:03 thorpej Exp $ */ +/* $NetBSD: disklabel.h,v 1.3 2003/05/10 16:12:03 thorpej Exp $ */ /* * Copyright (c) 1994 Mark Brinicombe. @@ -63,7 +63,6 @@ struct cpu_disklabel { #ifdef _KERNEL struct buf; struct disklabel; -int bounds_check_with_label __P((struct buf *, struct disklabel *, int)); /* for readdisklabel. rv != 0 -> matches, msg == NULL -> success */ int mbr_label_read __P((dev_t, void (*)(struct buf *), struct disklabel *, diff --git a/sys/arch/atari/include/cpu.h b/sys/arch/atari/include/cpu.h index c56f9fbfece..eb4f5439dc9 100644 --- a/sys/arch/atari/include/cpu.h +++ b/sys/arch/atari/include/cpu.h @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.h,v 1.40 2003/01/17 22:34:22 thorpej Exp $ */ +/* $NetBSD: cpu.h,v 1.41 2003/05/10 16:12:03 thorpej Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -198,13 +198,6 @@ void config_console __P((void)); long clkread __P((void)); /* - * Prototypes from disksubr.c - */ -struct buf; -struct disklabel; -int bounds_check_with_label __P((struct buf *, struct disklabel *, int)); - -/* * Prototypes from fpu.c */ char *fpu_describe __P((int)); diff --git a/sys/arch/bebox/include/disklabel.h b/sys/arch/bebox/include/disklabel.h index b18e4e311d5..7565e9a5e30 100644 --- a/sys/arch/bebox/include/disklabel.h +++ b/sys/arch/bebox/include/disklabel.h @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.h,v 1.4 1999/01/27 21:00:05 thorpej Exp $ */ +/* $NetBSD: disklabel.h,v 1.5 2003/05/10 16:12:03 thorpej Exp $ */ /* * Copyright (c) 1994 Christopher G. Demetriou @@ -47,9 +47,4 @@ struct cpu_disklabel { struct dkbad bad; }; -#ifdef _KERNEL -struct disklabel; -int bounds_check_with_label __P((struct buf *, struct disklabel *, int)); -#endif - #endif /* _MACHINE_DISKLABEL_H_ */ diff --git a/sys/arch/evbppc/include/disklabel.h b/sys/arch/evbppc/include/disklabel.h index 5ee57d81205..b046ef0ed5c 100644 --- a/sys/arch/evbppc/include/disklabel.h +++ b/sys/arch/evbppc/include/disklabel.h @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.h,v 1.1 2002/12/09 12:16:01 scw Exp $ */ +/* $NetBSD: disklabel.h,v 1.2 2003/05/10 16:12:03 thorpej Exp $ */ /* * Copyright (c) 1994 Christopher G. Demetriou @@ -44,9 +44,4 @@ struct cpu_disklabel { struct dkbad bad; /* bad-sector information */ }; -#ifdef _KERNEL -struct disklabel; -int bounds_check_with_label(struct buf *bp, struct disklabel *lp, int wlabel); -#endif - #endif /* _MACHINE_DISKLABEL_H_ */ diff --git a/sys/arch/hpcarm/include/disklabel.h b/sys/arch/hpcarm/include/disklabel.h index 513ac6f262a..ceab60eb05e 100644 --- a/sys/arch/hpcarm/include/disklabel.h +++ b/sys/arch/hpcarm/include/disklabel.h @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.h,v 1.2 2001/03/14 14:47:41 toshii Exp $ */ +/* $NetBSD: disklabel.h,v 1.3 2003/05/10 16:12:03 thorpej Exp $ */ /* * Copyright (c) 1994 Christopher G. Demetriou @@ -49,9 +49,4 @@ struct cpu_disklabel { }; #endif -#ifdef _KERNEL -struct disklabel; -int bounds_check_with_label __P((struct buf *, struct disklabel *, int)); -#endif - #endif /* _MACHINE_DISKLABEL_H_ */ diff --git a/sys/arch/hpcmips/include/disklabel.h b/sys/arch/hpcmips/include/disklabel.h index de80fb7b755..8154bd80831 100644 --- a/sys/arch/hpcmips/include/disklabel.h +++ b/sys/arch/hpcmips/include/disklabel.h @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.h,v 1.4 2002/03/23 03:14:54 shin Exp $ */ +/* $NetBSD: disklabel.h,v 1.5 2003/05/10 16:12:04 thorpej Exp $ */ /* * Copyright (c) 1994 Christopher G. Demetriou @@ -63,9 +63,4 @@ struct cpu_disklabel { }; #endif -#ifdef _KERNEL -struct disklabel; -int bounds_check_with_label __P((struct buf *, struct disklabel *, int)); -#endif - #endif /* _MACHINE_DISKLABEL_H_ */ diff --git a/sys/arch/i386/include/disklabel.h b/sys/arch/i386/include/disklabel.h index 48cb88fe42c..76e2c215b47 100644 --- a/sys/arch/i386/include/disklabel.h +++ b/sys/arch/i386/include/disklabel.h @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.h,v 1.9 2001/01/02 23:06:54 tron Exp $ */ +/* $NetBSD: disklabel.h,v 1.10 2003/05/10 16:12:04 thorpej Exp $ */ /* * Copyright (c) 1994 Christopher G. Demetriou @@ -63,9 +63,4 @@ struct cpu_disklabel { }; #endif -#ifdef _KERNEL -struct disklabel; -int bounds_check_with_label __P((struct buf *, struct disklabel *, int)); -#endif - #endif /* _MACHINE_DISKLABEL_H_ */ diff --git a/sys/arch/macppc/include/disklabel.h b/sys/arch/macppc/include/disklabel.h index 196ae408b3f..0e025c9272b 100644 --- a/sys/arch/macppc/include/disklabel.h +++ b/sys/arch/macppc/include/disklabel.h @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.h,v 1.10 2002/09/10 11:28:56 dbj Exp $ */ +/* $NetBSD: disklabel.h,v 1.11 2003/05/10 16:12:04 thorpej Exp $ */ /*- * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -223,9 +223,4 @@ struct blockzeroblock { #define BZB_USRFS 0x4000 #define BZB_USRFS_NEW 0x0004 -#ifdef _KERNEL -struct disklabel; -int bounds_check_with_label __P((struct buf *bp, struct disklabel *lp, int wlabel)); -#endif /* _KERNEL */ - #endif /* _MACHINE_DISKLABEL_H_ */ diff --git a/sys/arch/mvmeppc/include/disklabel.h b/sys/arch/mvmeppc/include/disklabel.h index 3d6f2803ac7..3f67a83c2ff 100644 --- a/sys/arch/mvmeppc/include/disklabel.h +++ b/sys/arch/mvmeppc/include/disklabel.h @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.h,v 1.2 2002/03/07 19:15:46 matt Exp $ */ +/* $NetBSD: disklabel.h,v 1.3 2003/05/10 16:12:04 thorpej Exp $ */ /* * Copyright (c) 1994 Christopher G. Demetriou @@ -47,9 +47,4 @@ struct cpu_disklabel { struct dkbad bad; }; -#ifdef _KERNEL -struct disklabel; -int bounds_check_with_label __P((struct buf *, struct disklabel *, int)); -#endif - #endif /* _MACHINE_DISKLABEL_H_ */ diff --git a/sys/arch/ofppc/include/disklabel.h b/sys/arch/ofppc/include/disklabel.h index 0be833ac338..33483db6a09 100644 --- a/sys/arch/ofppc/include/disklabel.h +++ b/sys/arch/ofppc/include/disklabel.h @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.h,v 1.5 1999/01/27 21:33:20 thorpej Exp $ */ +/* $NetBSD: disklabel.h,v 1.6 2003/05/10 16:12:04 thorpej Exp $ */ /*- * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -43,9 +43,4 @@ struct cpu_disklabel { int cd_start; /* Offset to NetBSD partition in blocks */ }; -#ifdef _KERNEL -struct disklabel; -int bounds_check_with_label __P((struct buf *bp, struct disklabel *lp, int wlabel)); -#endif /* _KERNEL */ - #endif /* _MACHINE_DISKLABEL_H_ */ diff --git a/sys/arch/pmppc/include/disklabel.h b/sys/arch/pmppc/include/disklabel.h index 1f493def4b6..d6e436574ce 100644 --- a/sys/arch/pmppc/include/disklabel.h +++ b/sys/arch/pmppc/include/disklabel.h @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.h,v 1.1 2002/05/30 08:51:16 augustss Exp $ */ +/* $NetBSD: disklabel.h,v 1.2 2003/05/10 16:12:05 thorpej Exp $ */ /* * Copyright (c) 1994 Christopher G. Demetriou @@ -47,9 +47,4 @@ struct cpu_disklabel { struct dkbad bad; }; -#ifdef _KERNEL -struct disklabel; -int bounds_check_with_label(struct buf *, struct disklabel *, int); -#endif - #endif /* _MACHINE_DISKLABEL_H_ */ diff --git a/sys/arch/prep/include/disklabel.h b/sys/arch/prep/include/disklabel.h index 225c3ac7b1e..c406c60736e 100644 --- a/sys/arch/prep/include/disklabel.h +++ b/sys/arch/prep/include/disklabel.h @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.h,v 1.3 2002/03/09 01:15:22 matt Exp $ */ +/* $NetBSD: disklabel.h,v 1.4 2003/05/10 16:12:05 thorpej Exp $ */ /* * Copyright (c) 1994 Christopher G. Demetriou @@ -47,9 +47,4 @@ struct cpu_disklabel { struct dkbad bad; }; -#ifdef _KERNEL -struct disklabel; -int bounds_check_with_label __P((struct buf *, struct disklabel *, int)); -#endif - #endif /* _MACHINE_DISKLABEL_H_ */ diff --git a/sys/arch/sandpoint/include/disklabel.h b/sys/arch/sandpoint/include/disklabel.h index 485b556091f..e8fee12acd5 100644 --- a/sys/arch/sandpoint/include/disklabel.h +++ b/sys/arch/sandpoint/include/disklabel.h @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.h,v 1.2 2001/12/07 05:20:57 briggs Exp $ */ +/* $NetBSD: disklabel.h,v 1.3 2003/05/10 16:12:05 thorpej Exp $ */ /* * Copyright (c) 1994 Christopher G. Demetriou @@ -47,9 +47,4 @@ struct cpu_disklabel { struct dkbad bad; }; -#ifdef _KERNEL -struct disklabel; -int bounds_check_with_label __P((struct buf *, struct disklabel *, int)); -#endif - #endif /* _MACHINE_DISKLABEL_H_ */ |
