repositories
/
deb_libnfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b1ae88
)
libnfs.h: wrap in extern "C" for C++ compatibility
author
Arne Redlich
<arne.redlich@googlemail.com>
Sun, 16 Feb 2014 20:36:17 +0000
(21:36 +0100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Thu, 20 Feb 2014 02:42:03 +0000
(18:42 -0800)
Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>
include/nfsc/libnfs.h
patch
|
blob
|
blame
|
history
diff --git
a/include/nfsc/libnfs.h
b/include/nfsc/libnfs.h
index da03f440f4476782f5b44bf4fb7c3a2794fc4bd9..46571113fe24e4c239cac8b36de2b2749a184aa9 100644
(file)
--- a/
include/nfsc/libnfs.h
+++ b/
include/nfsc/libnfs.h
@@
-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_ */