summaryrefslogtreecommitdiffstats
path: root/sys/fs/ntfs
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-12-04 02:12:43 +0000
committerru <ru@FreeBSD.org>2005-12-04 02:12:43 +0000
commit522e9c2b7b1ceeb0bc6a2edb3ee62885d8106ac3 (patch)
treef3ce65232b57836f87c8dc38dfcc8fbb95679c5d /sys/fs/ntfs
parent7b7fd248389b497235a0e9dcef2aff317880a15b (diff)
downloadFreeBSD-src-522e9c2b7b1ceeb0bc6a2edb3ee62885d8106ac3.zip
FreeBSD-src-522e9c2b7b1ceeb0bc6a2edb3ee62885d8106ac3.tar.gz
Fix -Wundef.
Diffstat (limited to 'sys/fs/ntfs')
-rw-r--r--sys/fs/ntfs/ntfs_subr.c4
-rw-r--r--sys/fs/ntfs/ntfs_vnops.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/fs/ntfs/ntfs_subr.c b/sys/fs/ntfs/ntfs_subr.c
index adbe8c643..fb94ea0 100644
--- a/sys/fs/ntfs/ntfs_subr.c
+++ b/sys/fs/ntfs/ntfs_subr.c
@@ -1815,7 +1815,7 @@ ntfs_readattr(
return (error);
}
-#if UNUSED_CODE
+#if 0
int
ntfs_parserun(
cn_t * cn,
@@ -1905,7 +1905,7 @@ ntfs_procfixups(
return (0);
}
-#if UNUSED_CODE
+#if 0
int
ntfs_runtocn(
cn_t * cn,
diff --git a/sys/fs/ntfs/ntfs_vnops.c b/sys/fs/ntfs/ntfs_vnops.c
index 48db359..d5a017f 100644
--- a/sys/fs/ntfs/ntfs_vnops.c
+++ b/sys/fs/ntfs/ntfs_vnops.c
@@ -434,7 +434,7 @@ ntfs_open(ap)
struct thread *a_td;
} */ *ap;
{
-#if NTFS_DEBUG
+#ifdef NTFS_DEBUG
register struct vnode *vp = ap->a_vp;
register struct ntnode *ip = VTONT(vp);
@@ -465,7 +465,7 @@ ntfs_close(ap)
struct thread *a_td;
} */ *ap;
{
-#if NTFS_DEBUG
+#ifdef NTFS_DEBUG
register struct vnode *vp = ap->a_vp;
register struct ntnode *ip = VTONT(vp);
OpenPOWER on IntegriCloud