summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-06-14 06:03:57 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-06-14 06:03:57 +0000
commitbbeb248511ff97fa875981a77d8b7e05a653914b (patch)
treeb635d70743571a097e60f344aa610cfee074c2b3
parent2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-bbeb248511ff97fa875981a77d8b7e05a653914b.tar.bz2
2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/rtems/posix/threadsup.h: Add extern "C".
-rw-r--r--cpukit/ChangeLog1
-rw-r--r--cpukit/posix/include/rtems/posix/threadsup.h8
2 files changed, 9 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 7eb7b60f60..f1800ff735 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,6 @@
2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>
+ * posix/include/rtems/posix/threadsup.h: Add extern "C".
* libnetworking/netinet/in_pcb.c:
Eliminate "ushort".
* libfs/src/pipe/fifo.c, libfs/src/pipe/pipe.h:
diff --git a/cpukit/posix/include/rtems/posix/threadsup.h b/cpukit/posix/include/rtems/posix/threadsup.h
index e0d5ce9132..cc3a87e99a 100644
--- a/cpukit/posix/include/rtems/posix/threadsup.h
+++ b/cpukit/posix/include/rtems/posix/threadsup.h
@@ -20,6 +20,10 @@
#include <rtems/score/coresem.h>
#include <rtems/score/tqdata.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*!
* This defines the POSIX API support structure associated with
* each thread in a system with POSIX configured.
@@ -83,5 +87,9 @@ void _POSIX_Thread_Exit(
void *value_ptr
);
+#ifdef __cplusplus
+}
+#endif
+
#endif
/* end of include file */