From b2ed023a037c625a44f2fc5669c6e85d0df4c160 Mon Sep 17 00:00:00 2001 From: mckusick Date: Tue, 11 Jul 2000 19:28:26 +0000 Subject: 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. --- sys/ufs/ffs/ffs_extern.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/ufs') 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 */ -- cgit v1.1