git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8000c9
)
talloc: make header C++ safe
author
Simo Sorce
<idra@samba.org>
Wed, 20 Oct 2010 17:09:57 +0000
(13:09 -0400)
committer
Simo Sorce
<idra@samba.org>
Wed, 20 Oct 2010 18:15:09 +0000
(18:15 +0000)
Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Wed Oct 20 18:15:09 UTC 2010 on sn-devel-104
lib/talloc/talloc.h
patch
|
blob
|
history
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