From 747ec72619b8ed604edba744879e1183340858c0 Mon Sep 17 00:00:00 2001 From: Jason Schmidlapp <Jason.Schmidlapp@gmail.com> Date: Sun, 21 Sep 2008 20:44:11 +0000 Subject: [PATCH] Add extern "C" around function declarations in pthread.h --- pthread.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pthread.h b/pthread.h index d593d2e..a66a371 100644 --- a/pthread.h +++ b/pthread.h @@ -654,6 +654,10 @@ enum #endif /* PTE_CLEANUP_C */ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /* * =============== * =============== @@ -960,6 +964,10 @@ enum #endif /*PTE_LEVEL >= PTE_LEVEL_MAX - 1 */ +#ifdef __cplusplus +} +#endif /* cplusplus */ + #if PTE_LEVEL >= PTE_LEVEL_MAX -- GitLab