Permalink
Browse files

Add extern "C" around function declarations in pthread.h

git-svn-id: https://pthreads-emb.svn.sourceforge.net/svnroot/pthreads-emb/trunk@8 35f4ce8d-0243-0410-97bd-fa56aa2c6cd4
  • Loading branch information...
1 parent 6d50a9b commit c287368f3f8671cd9c9ef2941dfe6c74acf2c900 jschmidlapp committed Sep 21, 2008
Showing with 8 additions and 0 deletions.
  1. +8 −0 pthread.h
View
@@ -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

0 comments on commit c287368

Please sign in to comment.