Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/lfs remove redundant prototypes.



details:   https://anonhg.NetBSD.org/src/rev/ce4a50110592
branches:  trunk
changeset: 552658:ce4a50110592
user:      yamt <yamt%NetBSD.org@localhost>
date:      Mon Sep 29 15:12:08 2003 +0000

description:
remove redundant prototypes.

diffstat:

 sys/ufs/lfs/lfs_extern.h  |   7 +------
 sys/ufs/lfs/lfs_segment.c |  18 ++----------------
 2 files changed, 3 insertions(+), 22 deletions(-)

diffs (80 lines):

diff -r 0955ba8bfa44 -r ce4a50110592 sys/ufs/lfs/lfs_extern.h
--- a/sys/ufs/lfs/lfs_extern.h  Mon Sep 29 14:34:44 2003 +0000
+++ b/sys/ufs/lfs/lfs_extern.h  Mon Sep 29 15:12:08 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_extern.h,v 1.54 2003/09/23 05:26:49 yamt Exp $     */
+/*     $NetBSD: lfs_extern.h,v 1.55 2003/09/29 15:12:08 yamt Exp $     */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -160,7 +160,6 @@
 /* lfs_segment.c */
 void lfs_imtime(struct lfs *);
 int lfs_vflush(struct vnode *);
-int lfs_writevnodes(struct lfs *, struct mount *, struct segment *, int);
 int lfs_segwrite(struct mount *, int);
 void lfs_writefile(struct lfs *, struct segment *, struct vnode *);
 int lfs_writeinode(struct lfs *, struct segment *, struct inode *);
@@ -169,7 +168,6 @@
 void lfs_update_single(struct lfs *, struct segment *, daddr_t, int32_t, int);
 void lfs_updatemeta(struct segment *);
 int lfs_initseg(struct lfs *);
-void lfs_newseg(struct lfs *);
 int lfs_writeseg(struct lfs *, struct segment *);
 void lfs_writesuper(struct lfs *, daddr_t);
 int lfs_match_data(struct lfs *, struct buf *);
@@ -177,9 +175,6 @@
 int lfs_match_dindir(struct lfs *, struct buf *);
 int lfs_match_tindir(struct lfs *, struct buf *);
 void lfs_callback(struct buf *);
-void lfs_supercallback(struct buf *);
-/* XXX ondisk32 */
-void lfs_shellsort(struct buf **, int32_t *, int, int);
 int lfs_vref(struct vnode *);
 void lfs_vunref(struct vnode *);
 void lfs_vunref_head(struct vnode *);
diff -r 0955ba8bfa44 -r ce4a50110592 sys/ufs/lfs/lfs_segment.c
--- a/sys/ufs/lfs/lfs_segment.c Mon Sep 29 14:34:44 2003 +0000
+++ b/sys/ufs/lfs/lfs_segment.c Mon Sep 29 15:12:08 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_segment.c,v 1.132 2003/09/07 11:47:07 yamt Exp $   */
+/*     $NetBSD: lfs_segment.c,v 1.133 2003/09/29 15:12:08 yamt Exp $   */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_segment.c,v 1.132 2003/09/07 11:47:07 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_segment.c,v 1.133 2003/09/29 15:12:08 yamt Exp $");
 
 #define ivndebug(vp,str) printf("ino %d: %s\n",VTOI(vp)->i_number,(str))
 
@@ -120,26 +120,12 @@
        ((fs)->lfs_fsbpseg - ((fs)->lfs_offset - (fs)->lfs_curseg) > \
        fragstofsb((fs), (fs)->lfs_frag))
 
-void    lfs_callback(struct buf *);
-int     lfs_gather(struct lfs *, struct segment *,
-            struct vnode *, int (*)(struct lfs *, struct buf *));
-int     lfs_gatherblock(struct segment *, struct buf *, int *);
-void    lfs_iset(struct inode *, daddr_t, time_t);
 int     lfs_match_fake(struct lfs *, struct buf *);
-int     lfs_match_data(struct lfs *, struct buf *);
-int     lfs_match_dindir(struct lfs *, struct buf *);
-int     lfs_match_indir(struct lfs *, struct buf *);
-int     lfs_match_tindir(struct lfs *, struct buf *);
 void    lfs_newseg(struct lfs *);
 /* XXX ondisk32 */
 void    lfs_shellsort(struct buf **, int32_t *, int, int);
 void    lfs_supercallback(struct buf *);
 void    lfs_updatemeta(struct segment *);
-int     lfs_vref(struct vnode *);
-void    lfs_vunref(struct vnode *);
-void    lfs_writefile(struct lfs *, struct segment *, struct vnode *);
-int     lfs_writeinode(struct lfs *, struct segment *, struct inode *);
-int     lfs_writeseg(struct lfs *, struct segment *);
 void    lfs_writesuper(struct lfs *, daddr_t);
 int     lfs_writevnodes(struct lfs *fs, struct mount *mp,
            struct segment *sp, int dirops);



Home | Main Index | Thread Index | Old Index