diff options
author | mckusick <mckusick@FreeBSD.org> | 2000-07-11 19:28:26 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 2000-07-11 19:28:26 +0000 |
commit | b2ed023a037c625a44f2fc5669c6e85d0df4c160 (patch) | |
tree | cb82267c73b023ec33b78cb319975d8e93017770 /sys/ufs/ffs | |
parent | e07f67dda2fbeb6e3f85ab6998185af42b897135 (diff) | |
download | FreeBSD-src-b2ed023a037c625a44f2fc5669c6e85d0df4c160.zip FreeBSD-src-b2ed023a037c625a44f2fc5669c6e85d0df4c160.tar.gz |
Clean up warning about undeclared function by declaring softdep_fsync
in mount.h instead of ffs_extern.h. The correct solution is to use
an indirect function pointer so that the kernel does not have to be
built with options FFS, but that will be left for another day.
Diffstat (limited to 'sys/ufs/ffs')
-rw-r--r-- | sys/ufs/ffs/ffs_extern.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/ufs/ffs/ffs_extern.h b/sys/ufs/ffs/ffs_extern.h index 778376e..fe7391b 100644 --- a/sys/ufs/ffs/ffs_extern.h +++ b/sys/ufs/ffs/ffs_extern.h @@ -125,6 +125,9 @@ void softdep_setup_allocindir_page __P((struct inode *, ufs_lbn_t, struct buf *, int, ufs_daddr_t, ufs_daddr_t, struct buf *)); void softdep_fsync_mountdev __P((struct vnode *)); int softdep_sync_metadata __P((struct vop_fsync_args *)); +/* XXX incorrectly moved to mount.h - should be indirect function */ +#if 0 int softdep_fsync __P((struct vnode *vp)); +#endif #endif /* !_UFS_FFS_EXTERN_H */ |