libnfs.h: wrap in extern "C" for C++ compatibility
Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>libnfs-4.0.0-vitalif
parent
4b1ae88abb
commit
d48be00c5e
|
@ -29,6 +29,10 @@
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
struct nfs_context;
|
struct nfs_context;
|
||||||
struct rpc_context;
|
struct rpc_context;
|
||||||
|
|
||||||
|
@ -1162,4 +1166,8 @@ struct nfs_server_list {
|
||||||
struct nfs_server_list *nfs_find_local_servers(void);
|
struct nfs_server_list *nfs_find_local_servers(void);
|
||||||
void free_nfs_srvr_list(struct nfs_server_list *srv);
|
void free_nfs_srvr_list(struct nfs_server_list *srv);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* !_LIBNFS_H_ */
|
#endif /* !_LIBNFS_H_ */
|
||||||
|
|
Loading…
Reference in New Issue