From: Arne Redlich Date: Thu, 13 Feb 2014 21:27:57 +0000 (+0100) Subject: libnfs-private.h: wrap in extern "C" for C++ compatibility X-Git-Tag: upstream/1.9.6^2~111 X-Git-Url: https://git.piment-noir.org/?p=deb_libnfs.git;a=commitdiff_plain;h=324234ee1005490780997d7a50988c06c6786737 libnfs-private.h: wrap in extern "C" for C++ compatibility Signed-off-by: Arne Redlich --- diff --git a/include/libnfs-private.h b/include/libnfs-private.h index 2cc61c3..b22d9b6 100644 --- a/include/libnfs-private.h +++ b/include/libnfs-private.h @@ -28,6 +28,9 @@ #include "libnfs-zdr.h" +#ifdef __cplusplus +extern "C" { +#endif #if !defined(HAVE_SOCKADDR_STORAGE) && !defined(WIN32) /* @@ -154,4 +157,8 @@ void rpc_free_all_fragments(struct rpc_context *rpc); const struct nfs_fh3 *nfs_get_rootfh(struct nfs_context *nfs); +#ifdef __cplusplus +} +#endif + #endif /* !_LIBNFS_PRIVATE_H_ */