summaryrefslogtreecommitdiffstats
path: root/contrib/amd/conf
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-09-02 20:37:36 +0000
committerobrien <obrien@FreeBSD.org>2001-09-02 20:37:36 +0000
commit6f7c45cc94db5c7aa02b536d30e952dc1801d857 (patch)
tree8e64a743be31885d28ed56652814ba9820496e54 /contrib/amd/conf
parent038fbdee78fea5b07768c95cf94c76ce6d81ce81 (diff)
downloadFreeBSD-src-6f7c45cc94db5c7aa02b536d30e952dc1801d857.zip
FreeBSD-src-6f7c45cc94db5c7aa02b536d30e952dc1801d857.tar.gz
Use the native mount and nfs_prot headers.
Also generate nfs_prot_x.c in ANSI-C mode.
Diffstat (limited to 'contrib/amd/conf')
-rw-r--r--contrib/amd/conf/nfs_prot/nfs_prot_freebsd3.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/contrib/amd/conf/nfs_prot/nfs_prot_freebsd3.h b/contrib/amd/conf/nfs_prot/nfs_prot_freebsd3.h
index 6ebf490..a2678c7 100644
--- a/contrib/amd/conf/nfs_prot/nfs_prot_freebsd3.h
+++ b/contrib/amd/conf/nfs_prot/nfs_prot_freebsd3.h
@@ -46,11 +46,6 @@
#ifndef _AMU_NFS_PROT_H
#define _AMU_NFS_PROT_H
-#ifdef COMMENT_OUT
-#ifdef HAVE_RPCSVC_NFS_PROT_H
-# include <rpcsvc/nfs_prot.h>
-#endif /* HAVE_RPCSVC_NFS_PROT_H */
-#endif /* COMMENT_OUT */
/* nfs_prot.h defines struct `nfs_fh3', but it is a ``dmr "unwarranted
* chumminess with the C implementation". We need the more complete
* structure, which is defined below. So get the stock `nfs_fh3'
@@ -58,7 +53,11 @@
*/
struct nfs_fh3;
#define nfs_fh3 nfs_fh3_fbsd_
-# include "nfs_prot.h"
+
+#ifdef HAVE_RPCSVC_NFS_PROT_H
+# include <rpcsvc/nfs_prot.h>
+#endif /* HAVE_RPCSVC_NFS_PROT_H */
+
#undef nfs_fh3
#ifdef HAVE_NFS_RPCV2_H
OpenPOWER on IntegriCloud