Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch Remove redundant bounds_check_with_label() prototype.



details:   https://anonhg.NetBSD.org/src/rev/91a189adb9b8
branches:  trunk
changeset: 546988:91a189adb9b8
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat May 10 16:12:02 2003 +0000

description:
Remove redundant bounds_check_with_label() prototype.

diffstat:

 sys/arch/amd64/include/disklabel.h     |  7 +------
 sys/arch/arc/include/disklabel.h       |  7 +------
 sys/arch/arm/include/disklabel.h       |  3 +--
 sys/arch/atari/include/cpu.h           |  9 +--------
 sys/arch/bebox/include/disklabel.h     |  7 +------
 sys/arch/evbppc/include/disklabel.h    |  7 +------
 sys/arch/hpcarm/include/disklabel.h    |  7 +------
 sys/arch/hpcmips/include/disklabel.h   |  7 +------
 sys/arch/i386/include/disklabel.h      |  7 +------
 sys/arch/macppc/include/disklabel.h    |  7 +------
 sys/arch/mvmeppc/include/disklabel.h   |  7 +------
 sys/arch/ofppc/include/disklabel.h     |  7 +------
 sys/arch/pmppc/include/disklabel.h     |  7 +------
 sys/arch/prep/include/disklabel.h      |  7 +------
 sys/arch/sandpoint/include/disklabel.h |  7 +------
 15 files changed, 15 insertions(+), 88 deletions(-)

diffs (287 lines):

diff -r 90e1c3fe9ce5 -r 91a189adb9b8 sys/arch/amd64/include/disklabel.h
--- a/sys/arch/amd64/include/disklabel.h        Sat May 10 15:25:19 2003 +0000
+++ b/sys/arch/amd64/include/disklabel.h        Sat May 10 16:12:02 2003 +0000
@@ -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 @@
 };
 #endif
 
-#ifdef _KERNEL
-struct disklabel;
-int    bounds_check_with_label __P((struct buf *, struct disklabel *, int));
-#endif
-
 #endif /* _MACHINE_DISKLABEL_H_ */
diff -r 90e1c3fe9ce5 -r 91a189adb9b8 sys/arch/arc/include/disklabel.h
--- a/sys/arch/arc/include/disklabel.h  Sat May 10 15:25:19 2003 +0000
+++ b/sys/arch/arc/include/disklabel.h  Sat May 10 16:12:02 2003 +0000
@@ -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 dkbad bad;
 };
 
-#ifdef _KERNEL
-struct disklabel;
-int    bounds_check_with_label __P((struct buf *, struct disklabel *, int));
-#endif
-
 #endif /* _MACHINE_DISKLABEL_H_ */
diff -r 90e1c3fe9ce5 -r 91a189adb9b8 sys/arch/arm/include/disklabel.h
--- a/sys/arch/arm/include/disklabel.h  Sat May 10 15:25:19 2003 +0000
+++ b/sys/arch/arm/include/disklabel.h  Sat May 10 16:12:02 2003 +0000
@@ -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 @@
 #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 -r 90e1c3fe9ce5 -r 91a189adb9b8 sys/arch/atari/include/cpu.h
--- a/sys/arch/atari/include/cpu.h      Sat May 10 15:25:19 2003 +0000
+++ b/sys/arch/atari/include/cpu.h      Sat May 10 16:12:02 2003 +0000
@@ -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 @@
 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 -r 90e1c3fe9ce5 -r 91a189adb9b8 sys/arch/bebox/include/disklabel.h
--- a/sys/arch/bebox/include/disklabel.h        Sat May 10 15:25:19 2003 +0000
+++ b/sys/arch/bebox/include/disklabel.h        Sat May 10 16:12:02 2003 +0000
@@ -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 dkbad bad;
 };
 
-#ifdef _KERNEL
-struct disklabel;
-int    bounds_check_with_label __P((struct buf *, struct disklabel *, int));
-#endif
-
 #endif /* _MACHINE_DISKLABEL_H_ */
diff -r 90e1c3fe9ce5 -r 91a189adb9b8 sys/arch/evbppc/include/disklabel.h
--- a/sys/arch/evbppc/include/disklabel.h       Sat May 10 15:25:19 2003 +0000
+++ b/sys/arch/evbppc/include/disklabel.h       Sat May 10 16:12:02 2003 +0000
@@ -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 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 -r 90e1c3fe9ce5 -r 91a189adb9b8 sys/arch/hpcarm/include/disklabel.h
--- a/sys/arch/hpcarm/include/disklabel.h       Sat May 10 15:25:19 2003 +0000
+++ b/sys/arch/hpcarm/include/disklabel.h       Sat May 10 16:12:02 2003 +0000
@@ -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 @@
 };
 #endif
 
-#ifdef _KERNEL
-struct disklabel;
-int    bounds_check_with_label __P((struct buf *, struct disklabel *, int));
-#endif
-
 #endif /* _MACHINE_DISKLABEL_H_ */
diff -r 90e1c3fe9ce5 -r 91a189adb9b8 sys/arch/hpcmips/include/disklabel.h
--- a/sys/arch/hpcmips/include/disklabel.h      Sat May 10 15:25:19 2003 +0000
+++ b/sys/arch/hpcmips/include/disklabel.h      Sat May 10 16:12:02 2003 +0000
@@ -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 @@
 };
 #endif
 
-#ifdef _KERNEL
-struct disklabel;
-int    bounds_check_with_label __P((struct buf *, struct disklabel *, int));
-#endif
-
 #endif /* _MACHINE_DISKLABEL_H_ */
diff -r 90e1c3fe9ce5 -r 91a189adb9b8 sys/arch/i386/include/disklabel.h
--- a/sys/arch/i386/include/disklabel.h Sat May 10 15:25:19 2003 +0000
+++ b/sys/arch/i386/include/disklabel.h Sat May 10 16:12:02 2003 +0000
@@ -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 @@
 };
 #endif
 
-#ifdef _KERNEL
-struct disklabel;
-int    bounds_check_with_label __P((struct buf *, struct disklabel *, int));
-#endif
-
 #endif /* _MACHINE_DISKLABEL_H_ */
diff -r 90e1c3fe9ce5 -r 91a189adb9b8 sys/arch/macppc/include/disklabel.h
--- a/sys/arch/macppc/include/disklabel.h       Sat May 10 15:25:19 2003 +0000
+++ b/sys/arch/macppc/include/disklabel.h       Sat May 10 16:12:02 2003 +0000
@@ -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 @@
 #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 -r 90e1c3fe9ce5 -r 91a189adb9b8 sys/arch/mvmeppc/include/disklabel.h
--- a/sys/arch/mvmeppc/include/disklabel.h      Sat May 10 15:25:19 2003 +0000
+++ b/sys/arch/mvmeppc/include/disklabel.h      Sat May 10 16:12:02 2003 +0000
@@ -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 dkbad bad;
 };
 
-#ifdef _KERNEL
-struct disklabel;
-int    bounds_check_with_label __P((struct buf *, struct disklabel *, int));
-#endif
-
 #endif /* _MACHINE_DISKLABEL_H_ */
diff -r 90e1c3fe9ce5 -r 91a189adb9b8 sys/arch/ofppc/include/disklabel.h
--- a/sys/arch/ofppc/include/disklabel.h        Sat May 10 15:25:19 2003 +0000
+++ b/sys/arch/ofppc/include/disklabel.h        Sat May 10 16:12:02 2003 +0000
@@ -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 @@
        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 -r 90e1c3fe9ce5 -r 91a189adb9b8 sys/arch/pmppc/include/disklabel.h
--- a/sys/arch/pmppc/include/disklabel.h        Sat May 10 15:25:19 2003 +0000
+++ b/sys/arch/pmppc/include/disklabel.h        Sat May 10 16:12:02 2003 +0000
@@ -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 dkbad bad;
 };
 
-#ifdef _KERNEL
-struct disklabel;
-int    bounds_check_with_label(struct buf *, struct disklabel *, int);
-#endif
-
 #endif /* _MACHINE_DISKLABEL_H_ */
diff -r 90e1c3fe9ce5 -r 91a189adb9b8 sys/arch/prep/include/disklabel.h
--- a/sys/arch/prep/include/disklabel.h Sat May 10 15:25:19 2003 +0000
+++ b/sys/arch/prep/include/disklabel.h Sat May 10 16:12:02 2003 +0000
@@ -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 dkbad bad;
 };
 
-#ifdef _KERNEL
-struct disklabel;
-int    bounds_check_with_label __P((struct buf *, struct disklabel *, int));
-#endif
-
 #endif /* _MACHINE_DISKLABEL_H_ */
diff -r 90e1c3fe9ce5 -r 91a189adb9b8 sys/arch/sandpoint/include/disklabel.h
--- a/sys/arch/sandpoint/include/disklabel.h    Sat May 10 15:25:19 2003 +0000
+++ b/sys/arch/sandpoint/include/disklabel.h    Sat May 10 16:12:02 2003 +0000
@@ -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 dkbad bad;
 };
 
-#ifdef _KERNEL
-struct disklabel;
-int    bounds_check_with_label __P((struct buf *, struct disklabel *, int));
-#endif
-
 #endif /* _MACHINE_DISKLABEL_H_ */



Home | Main Index | Thread Index | Old Index