diff options
Diffstat (limited to 'cpukit/posix/include/mqueue.h')
-rw-r--r-- | cpukit/posix/include/mqueue.h | 11 |
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 */ |