require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_UFS_LFS_LFS_EXTERN_H_)) {
    eval 'sub _UFS_LFS_LFS_EXTERN_H_ () {1;}' unless defined(&_UFS_LFS_LFS_EXTERN_H_);
    if(defined(&_KERNEL)) {
	require 'sys/mallocvar.ph';
    }
    eval 'sub IS_LFS_VNODE {
        my($vp) = @_;
	    eval q(( ($vp->{v_tag}) ==  &VT_LFS));
    }' unless defined(&IS_LFS_VNODE);
    eval 'sub LFS_WRITEINDIR () {1;}' unless defined(&LFS_WRITEINDIR);
    eval 'sub LFS_CLEAN_VNHEAD () {2;}' unless defined(&LFS_CLEAN_VNHEAD);
    eval 'sub LFS_DOSTATS () {3;}' unless defined(&LFS_DOSTATS);
    eval 'sub LFS_MAXPAGES () {4;}' unless defined(&LFS_MAXPAGES);
    eval 'sub LFS_FS_PAGETRIP () {5;}' unless defined(&LFS_FS_PAGETRIP);
    eval 'sub LFS_STATS () {6;}' unless defined(&LFS_STATS);
    eval 'sub LFS_DO_RFW () {7;}' unless defined(&LFS_DO_RFW);
    eval 'sub LFS_DEBUGLOG () {8;}' unless defined(&LFS_DEBUGLOG);
    eval 'sub LFS_IGNORE_LAZY_SYNC () {9;}' unless defined(&LFS_IGNORE_LAZY_SYNC);
    if(defined(&_KERNEL)) {
	if(defined(&DEBUG)) {
	}
    }
    eval 'sub lfs_cksum_fold {
        my($sum) = @_;
	    eval q(($sum));
    }' unless defined(&lfs_cksum_fold);
}
1;
