diff options
author | jhb <jhb@FreeBSD.org> | 2001-11-26 23:45:12 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-11-26 23:45:12 +0000 |
commit | 8698e45aa6fbe0c7fd2a90ae8256861b6be2de9b (patch) | |
tree | cc35821e407f5e488c3289ca14822d7fae38d031 /sys/fs/ntfs/ntfs.h | |
parent | d7f0a44ce0783613819e92329504ab0cb10e543c (diff) | |
download | FreeBSD-src-8698e45aa6fbe0c7fd2a90ae8256861b6be2de9b.zip FreeBSD-src-8698e45aa6fbe0c7fd2a90ae8256861b6be2de9b.tar.gz |
GC non-FreeBSD code that didn't work anyways.
Diffstat (limited to 'sys/fs/ntfs/ntfs.h')
-rw-r--r-- | sys/fs/ntfs/ntfs.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/sys/fs/ntfs/ntfs.h b/sys/fs/ntfs/ntfs.h index f5e9125..d13c081 100644 --- a/sys/fs/ntfs/ntfs.h +++ b/sys/fs/ntfs/ntfs.h @@ -29,9 +29,6 @@ */ /*#define NTFS_DEBUG 1*/ -#if defined(__NetBSD__) && defined(_KERNEL) && !defined(_LKM) -#include "opt_ntfs.h" -#endif typedef u_int64_t cn_t; typedef u_int16_t wchar; @@ -255,9 +252,6 @@ struct ntfsmount { cn_t ntm_cfree; struct ntvattrdef *ntm_ad; int ntm_adnum; -#if !defined(__FreeBSD__) - struct netexport ntm_export; /* export information */ -#endif wchar * ntm_82u; /* 8bit to Unicode */ char ** ntm_u28; /* Unicode to 8 bit */ }; @@ -295,31 +289,11 @@ MALLOC_DECLARE(M_NTFSDIR); MALLOC_DECLARE(M_NTFSNTHASH); #endif -#ifdef __NetBSD__ -#define MALLOC_DEFINE(a, b, c) -#define M_NTFSNTHASH M_NTFS -#define M_NTFSNTVATTR M_NTFS -#define M_NTFSRDATA M_NTFS -#define M_NTFSRUN M_NTFS -#define M_NTFSDECOMP M_NTFS -#define M_NTFSMNT M_NTFS -#define M_NTFSNTNODE M_NTFS -#define M_NTFSFNODE M_NTFS -#define M_NTFSDIR M_NTFS -typedef int (vop_t) __P((void *)); -#define HASHINIT(a, b, c, d) hashinit((a), (b), (c), (d)) -#define bqrelse(bp) brelse(bp) -#define VOP__UNLOCK(a, b, c) VOP_UNLOCK((a), (b)) -#define VGET(a, b, c) vget((a), (b)) -#define VN_LOCK(a, b, c) vn_lock((a), (b)) -#define LOCKMGR(a, b, c) lockmgr((a), (b), (c)) -#else /* !NetBSD */ #define HASHINIT(a, b, c, d) hashinit((a), (b), (d)) #define VOP__UNLOCK(a, b, c) VOP_UNLOCK((a), (b), (c)) #define VGET(a, b, c) vget((a), (b), (c)) #define VN_LOCK(a, b, c) vn_lock((a), (b), (c)) #define LOCKMGR(a, b, c) lockmgr((a), (b), (c), NULL) -#endif /* NetBSD */ #if defined(NTFS_DEBUG) #define dprintf(a) printf a |