From 0e57e953062cd2d97573d8428f6f77853ba8535e Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Fri, 3 Mar 2006 08:01:00 -0800 Subject: Version abc60303 --- src/misc/st/st.h | 8 ++++++++ src/misc/st/stmm.h | 8 ++++++++ 2 files changed, 16 insertions(+) (limited to 'src/misc/st') diff --git a/src/misc/st/st.h b/src/misc/st/st.h index 1802cf9b..b15f3c83 100644 --- a/src/misc/st/st.h +++ b/src/misc/st/st.h @@ -14,6 +14,10 @@ #ifndef ST_INCLUDED #define ST_INCLUDED +#ifdef __cplusplus +extern "C" { +#endif + typedef struct st_table_entry st_table_entry; struct st_table_entry { char *key; @@ -85,4 +89,8 @@ extern void st_free_gen (st_generator *); #define ST_OUT_OF_MEM -10000 +#ifdef __cplusplus +} +#endif + #endif /* ST_INCLUDED */ diff --git a/src/misc/st/stmm.h b/src/misc/st/stmm.h index d7b8a3f3..4330416e 100644 --- a/src/misc/st/stmm.h +++ b/src/misc/st/stmm.h @@ -14,6 +14,10 @@ #ifndef STMM_INCLUDED #define STMM_INCLUDED +#ifdef __cplusplus +extern "C" { +#endif + #include "extra.h" typedef struct stmm_table_entry stmm_table_entry; @@ -116,4 +120,8 @@ EXTERN void stmm_clean ARGS ((stmm_table *)); */ +#ifdef __cplusplus +} +#endif + #endif /* STMM_INCLUDED */ -- cgit v1.2.3