diff options
author | dg <dg@FreeBSD.org> | 1994-08-20 03:49:02 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-08-20 03:49:02 +0000 |
commit | c97639b9230d9c3f9032d935d7892c5b513c8814 (patch) | |
tree | f43f29ef28a2342dd7be499cf286557b75ae9f56 /sys/ufs | |
parent | 255b8baf81cdff10b66cd0893b98779e34305ff1 (diff) | |
download | FreeBSD-src-c97639b9230d9c3f9032d935d7892c5b513c8814.zip FreeBSD-src-c97639b9230d9c3f9032d935d7892c5b513c8814.tar.gz |
1) cleaned up after Garrett - fixed more redundant declarations, changed
use of timeout_t -> timeout_func_t in aha1542 and aha1742 drivers.
2) fix a bug in the portalfs that was uncovered by better prototyping -
specifically, the time must be converted from timeval to timespec
before storing in va_atime.
3) fixed/added some miscellaneous prototypes
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/lfs/lfs_alloc.c | 3 | ||||
-rw-r--r-- | sys/ufs/lfs/lfs_bio.c | 3 | ||||
-rw-r--r-- | sys/ufs/lfs/lfs_segment.c | 4 | ||||
-rw-r--r-- | sys/ufs/lfs/lfs_vfsops.c | 3 |
4 files changed, 4 insertions, 9 deletions
diff --git a/sys/ufs/lfs/lfs_alloc.c b/sys/ufs/lfs/lfs_alloc.c index 7e5e2a9..848bb81 100644 --- a/sys/ufs/lfs/lfs_alloc.c +++ b/sys/ufs/lfs/lfs_alloc.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)lfs_alloc.c 8.4 (Berkeley) 1/4/94 - * $Id$ + * $Id: lfs_alloc.c,v 1.2 1994/08/02 07:54:29 davidg Exp $ */ #include <sys/param.h> @@ -157,7 +157,6 @@ lfs_vcreate(mp, ino, vpp) ino_t ino; struct vnode **vpp; { - extern int (**lfs_vnodeop_p)(); struct inode *ip; struct ufsmount *ump; int error, i; diff --git a/sys/ufs/lfs/lfs_bio.c b/sys/ufs/lfs/lfs_bio.c index 86d3e33..59a8d15 100644 --- a/sys/ufs/lfs/lfs_bio.c +++ b/sys/ufs/lfs/lfs_bio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)lfs_bio.c 8.4 (Berkeley) 12/30/93 - * $Id$ + * $Id: lfs_bio.c,v 1.3 1994/08/02 07:54:31 davidg Exp $ */ #include <sys/param.h> @@ -167,7 +167,6 @@ lfs_check(vp, blkno) struct vnode *vp; daddr_t blkno; { - extern int lfs_allclean_wakeup; int error; error = 0; diff --git a/sys/ufs/lfs/lfs_segment.c b/sys/ufs/lfs/lfs_segment.c index 986a242..6cdf8f5 100644 --- a/sys/ufs/lfs/lfs_segment.c +++ b/sys/ufs/lfs/lfs_segment.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)lfs_segment.c 8.5 (Berkeley) 1/4/94 - * $Id$ + * $Id: lfs_segment.c,v 1.3 1994/08/02 07:54:36 davidg Exp $ */ #include <sys/param.h> @@ -84,8 +84,6 @@ void lfs_newseg __P((struct lfs *)); void lfs_shellsort __P((struct buf **, daddr_t *, register int)); void lfs_supercallback __P((struct buf *)); void lfs_updatemeta __P((struct segment *)); -int lfs_vref __P((struct vnode *)); -void lfs_vunref __P((struct vnode *)); void lfs_writefile __P((struct lfs *, struct segment *, struct vnode *)); int lfs_writeinode __P((struct lfs *, struct segment *, struct inode *)); int lfs_writeseg __P((struct lfs *, struct segment *)); diff --git a/sys/ufs/lfs/lfs_vfsops.c b/sys/ufs/lfs/lfs_vfsops.c index 7181936..0298666 100644 --- a/sys/ufs/lfs/lfs_vfsops.c +++ b/sys/ufs/lfs/lfs_vfsops.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)lfs_vfsops.c 8.7 (Berkeley) 4/16/94 - * $Id$ + * $Id: lfs_vfsops.c,v 1.3 1994/08/02 07:54:38 davidg Exp $ */ #include <sys/param.h> @@ -193,7 +193,6 @@ lfs_mountfs(devvp, mp, p) struct mount *mp; struct proc *p; { - extern struct vnode *rootvp; register struct lfs *fs; register struct ufsmount *ump; struct vnode *vp; |