From b69e6cd5fad609140204019241d872eb131d5a2f Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 23 Feb 2011 14:21:53 +0000 Subject: =?UTF-8?q?2011-02-23=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * posix/include/mqueue.h: Relocate "extern C++" guards. --- cpukit/posix/include/mqueue.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'cpukit/posix/include/mqueue.h') 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 @@ -29,6 +26,10 @@ extern "C" { #include #include +#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 */ -- cgit v1.2.3