Module Name: othersrc
Committed By: stacktic
Date: Mon Jul 13 16:03:54 UTC 2009
Modified Files:
othersrc/lib/libfsu_mount: fsu_mount.c
Log Message:
ifdef nfs to avoid undefined reference
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 othersrc/lib/libfsu_mount/fsu_mount.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: othersrc/lib/libfsu_mount/fsu_mount.c
diff -u othersrc/lib/libfsu_mount/fsu_mount.c:1.8 othersrc/lib/libfsu_mount/fsu_mount.c:1.9
--- othersrc/lib/libfsu_mount/fsu_mount.c:1.8 Wed Jul 8 15:36:46 2009
+++ othersrc/lib/libfsu_mount/fsu_mount.c Mon Jul 13 16:03:54 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: fsu_mount.c,v 1.8 2009/07/08 15:36:46 stacktic Exp $ */
+/* $NetBSD: fsu_mount.c,v 1.9 2009/07/13 16:03:54 stacktic Exp $ */
/*
* Copyright (c) 2008 Arnaud Ysmal. All Rights Reserved.
@@ -54,7 +54,9 @@
#include "mount_hfs.h"
#include "mount_lfs.h"
#include "mount_msdos.h"
+#ifdef NFS
#include "mount_nfs.h"
+#endif
#include "mount_ntfs.h"
#include "mount_sysvbfs.h"
#include "mount_tmpfs.h"
@@ -86,7 +88,9 @@
struct sysvbfs_args args_sysvbfs;
struct tmpfs_args args_tmpfs;
struct udf_args args_udf;
+#ifdef NFS
struct nfs_args args_nfs;
+#endif
#ifdef WITH_SYSPUFFS
struct syspuffs_args args_syspuffs;
#endif
@@ -126,8 +130,10 @@
(parseargs_fp)mount_sysvbfs_parseargs, 0 },
{ MOUNT_TMPFS, &args.args_tmpfs, sizeof(struct tmpfs_args),
(parseargs_fp)mount_tmpfs_parseargs, FS_NO_AUTODETECT },
+#ifdef NFS
{ MOUNT_NFS, &args.args_nfs, sizeof(struct nfs_args),
(parseargs_fp)mount_nfs_parseargs, FS_NO_AUTODETECT },
+#endif
#ifdef WITH_SYSPUFFS
{ MOUNT_PUFFS, &args.args_syspuffs, sizeof(struct syspuffs_args),
(parseargs_fp)mount_syspuffs_parseargs, FS_NO_AUTODETECT },