summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/include/mqueue.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-02-23 14:21:53 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-02-23 14:21:53 +0000
commitb69e6cd5fad609140204019241d872eb131d5a2f (patch)
treea0c3a1a9494750d011220021b5013d6fe3ae59f1 /cpukit/posix/include/mqueue.h
parent2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-b69e6cd5fad609140204019241d872eb131d5a2f.tar.bz2
2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/mqueue.h: Relocate "extern C++" guards.
Diffstat (limited to 'cpukit/posix/include/mqueue.h')
-rw-r--r--cpukit/posix/include/mqueue.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/cpukit/posix/include/mqueue.h b/cpukit/posix/include/mqueue.h
index 11c1dceafb..f08dc0754b 100644
--- a/cpukit/posix/include/mqueue.h
+++ b/cpukit/posix/include/mqueue.h
@@ -16,9 +16,6 @@
#ifndef _MQUEUE_H
#define _MQUEUE_H
-#ifdef __cplusplus
-extern "C" {
-#endif
#include <unistd.h>
@@ -29,6 +26,10 @@ extern "C" {
#include <rtems/system.h>
#include <rtems/score/object.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* 15.1.1 Data Structures, P1003.1b-1993, p. 271
*/
@@ -161,11 +162,11 @@ int mq_getattr(
struct mq_attr *mqstat
);
-#endif /* _POSIX_MESSAGE_PASSING */
-
#ifdef __cplusplus
}
#endif
+#endif /* _POSIX_MESSAGE_PASSING */
+
#endif
/* end of include file */