libnfs.h: wrap in extern "C" for C++ compatibility

Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>
libnfs-4.0.0-vitalif
Arne Redlich 2014-02-16 21:36:17 +01:00 committed by Ronnie Sahlberg
parent 4b1ae88abb
commit d48be00c5e
1 changed files with 8 additions and 0 deletions

View File

@ -29,6 +29,10 @@
#include <sys/time.h>
#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_ */