diff options
author | Simo Sorce <idra@samba.org> | 2010-10-20 13:09:57 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2010-10-20 18:15:09 +0000 |
commit | feb60345816f0fd45ea9b381fbd374b21542f518 (patch) | |
tree | 468131c9c10b11e07677ac0bf4ed3865c9633141 /lib | |
parent | c8000c94a59267326b13df3c631b9ac2921d0615 (diff) | |
download | samba-feb60345816f0fd45ea9b381fbd374b21542f518.tar.gz samba-feb60345816f0fd45ea9b381fbd374b21542f518.tar.bz2 samba-feb60345816f0fd45ea9b381fbd374b21542f518.zip |
talloc: make header C++ safe
Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Wed Oct 20 18:15:09 UTC 2010 on sn-devel-104
Diffstat (limited to 'lib')
-rw-r--r-- | lib/talloc/talloc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/talloc/talloc.h b/lib/talloc/talloc.h index 8b9ade202e..bc5b0fae2a 100644 --- 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 |