From: Arne Redlich Date: Sun, 16 Feb 2014 20:36:17 +0000 (+0100) Subject: libnfs.h: wrap in extern "C" for C++ compatibility X-Git-Tag: upstream/1.9.6^2~107 X-Git-Url: https://git.piment-noir.org/?p=deb_libnfs.git;a=commitdiff_plain;h=d48be00c5e05a567c04946e5decb8515f7570780 libnfs.h: wrap in extern "C" for C++ compatibility Signed-off-by: Arne Redlich --- diff --git a/include/nfsc/libnfs.h b/include/nfsc/libnfs.h index da03f44..4657111 100644 --- a/include/nfsc/libnfs.h +++ b/include/nfsc/libnfs.h @@ -29,6 +29,10 @@ #include #endif +#ifdef __cplusplus +extern "C" { +#endif + struct nfs_context; struct rpc_context; @@ -1162,4 +1166,8 @@ struct nfs_server_list { struct nfs_server_list *nfs_find_local_servers(void); void free_nfs_srvr_list(struct nfs_server_list *srv); +#ifdef __cplusplus +} +#endif + #endif /* !_LIBNFS_H_ */