From d1494d41de1698fbf06b97a3cf17fc9f5dc1eda3 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Tue, 20 Jul 2021 18:16:41 +1000 Subject: [PATCH] nfs4: tweak the raw headerfile for c++ Signed-off-by: Ronnie Sahlberg --- nfs4/libnfs-raw-nfs4.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/nfs4/libnfs-raw-nfs4.h b/nfs4/libnfs-raw-nfs4.h index 74d0cb7..5b2e6f2 100644 --- a/nfs4/libnfs-raw-nfs4.h +++ b/nfs4/libnfs-raw-nfs4.h @@ -2749,11 +2749,6 @@ extern uint32_t zdr_CB_COMPOUND4res (); #endif /* K&R C */ -#ifdef __cplusplus -} -#endif - -#endif /* !_NFS4_H_RPCGEN */ #include #if defined(WIN32) && defined(libnfs_EXPORTS) @@ -2797,3 +2792,10 @@ EXTERN int nfs4_getacl(struct nfs_context *nfs, struct nfsfh *nfsfh, fattr4_acl *nfs4acl); EXTERN void nfs4_acl_free(fattr4_acl *nfs4acl); + +#ifdef __cplusplus +} +#endif + +#endif /* !_NFS4_H_RPCGEN */ +