From c9e38fef647520e4038f04bd163678bf4b30853d Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Tue, 12 Aug 2008 19:38:22 +0200 Subject: [PATCH] netapi: add c++ guard. Guenther --- source/lib/netapi/netapi.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source/lib/netapi/netapi.h b/source/lib/netapi/netapi.h index dbf293e25bd..5f9cff97db5 100644 --- a/source/lib/netapi/netapi.h +++ b/source/lib/netapi/netapi.h @@ -20,6 +20,10 @@ #ifndef __LIB_NETAPI_H__ #define __LIB_NETAPI_H__ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /**************************************************************** NET_API_STATUS ****************************************************************/ @@ -1200,5 +1204,8 @@ NET_API_STATUS NetLocalGroupSetMembers(const char * server_name /* [in] */, NET_API_STATUS NetRemoteTOD(const char * server_name /* [in] */, uint8_t **buf /* [out] [ref] */); +#ifdef __cplusplus +} +#endif /* __cplusplus */ -#endif +#endif /* __LIB_NETAPI_H__ */ -- 2.47.3