git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
talloc: make header C++ safe
[ira/wip.git]
/
lib
/
talloc
/
talloc.h
diff --git
a/lib/talloc/talloc.h
b/lib/talloc/talloc.h
index 8b9ade202e52abbc25a9f8ee6e61d352cd98d133..bc5b0fae2a53949d312957fcf46d3078818ab964 100644
(file)
--- a/
lib/talloc/talloc.h
+++ b/
lib/talloc/talloc.h
@@
-29,6
+29,10
@@
#include <stdio.h>
#include <stdarg.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* @defgroup talloc The talloc API
*
@@
-1701,4
+1705,8
@@
void talloc_set_log_stderr(void);
#define TALLOC_MAX_DEPTH 10000
#endif
+#ifdef __cplusplus
+} /* end of extern "C" */
+#endif
+
#endif