From feb60345816f0fd45ea9b381fbd374b21542f518 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 20 Oct 2010 13:09:57 -0400 Subject: talloc: make header C++ safe Autobuild-User: Simo Sorce Autobuild-Date: Wed Oct 20 18:15:09 UTC 2010 on sn-devel-104 --- lib/talloc/talloc.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/talloc') 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 #include +#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 -- cgit