diff options
-rw-r--r-- | sys/ufs/lfs/lfs_debug.c | 10 | ||||
-rw-r--r-- | sys/ufs/lfs/lfs_extern.h | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/ufs/lfs/lfs_debug.c b/sys/ufs/lfs/lfs_debug.c index 1edffbf..67914ab 100644 --- a/sys/ufs/lfs/lfs_debug.c +++ b/sys/ufs/lfs/lfs_debug.c @@ -31,11 +31,12 @@ * SUCH DAMAGE. * * @(#)lfs_debug.c 8.1 (Berkeley) 6/11/93 - * $Id: lfs_debug.c,v 1.2 1994/08/02 07:54:33 davidg Exp $ + * $Id: lfs_debug.c,v 1.3 1995/05/30 08:15:16 rgrimes Exp $ */ #ifdef DEBUG #include <sys/param.h> +#include <sys/systm.h> #include <sys/namei.h> #include <sys/vnode.h> #include <sys/mount.h> @@ -45,7 +46,10 @@ #include <ufs/lfs/lfs.h> #include <ufs/lfs/lfs_extern.h> -void +static void lfs_dump_dinode __P((struct dinode *dip)); +static void lfs_dump_super __P((struct lfs *lfsp)); + +static void lfs_dump_super(lfsp) struct lfs *lfsp; { @@ -112,7 +116,7 @@ lfs_dump_super(lfsp) (void)printf("tstamp %lx\n", lfsp->lfs_tstamp); } -void +static void lfs_dump_dinode(dip) struct dinode *dip; { diff --git a/sys/ufs/lfs/lfs_extern.h b/sys/ufs/lfs/lfs_extern.h index 64575dd..ef8d9fd 100644 --- a/sys/ufs/lfs/lfs_extern.h +++ b/sys/ufs/lfs/lfs_extern.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)lfs_extern.h 8.2 (Berkeley) 4/16/94 - * $Id: lfs_extern.h,v 1.9 1995/12/06 19:46:37 bde Exp $ + * $Id: lfs_extern.h,v 1.10 1995/12/17 21:09:48 phk Exp $ */ #ifndef _UFS_LFS_LFS_EXTERN_H_ @@ -78,10 +78,6 @@ void lfs_vunref __P((struct vnode *)); int lfs_writeinode __P((struct lfs *, struct segment *, struct inode *)); int lfs_writeseg __P((struct lfs *, struct segment *)); void lfs_writesuper __P((struct lfs *)); -#ifdef DEBUG -void lfs_dump_dinode __P((struct dinode *)); -void lfs_dump_super __P((struct lfs *)); -#endif extern int lfs_allclean_wakeup; extern int locked_queue_count; |