From 97552c98b630294cf9d5efb523e1e15db8df686f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 19 Jul 2013 14:15:59 +0200 Subject: posix: Create priority implementation header Move implementation specific parts of priority.h and priority.inl into new header file priorityimpl.h. Remove priority.h since there is no application visible API. --- cpukit/posix/Makefile.am | 3 +- cpukit/posix/include/rtems/posix/priority.h | 108 --------------------- cpukit/posix/include/rtems/posix/priorityimpl.h | 120 ++++++++++++++++++++++++ cpukit/posix/inline/rtems/posix/priority.inl | 39 -------- cpukit/posix/preinstall.am | 10 +- cpukit/posix/src/mutex.c | 2 +- cpukit/posix/src/mutexattrdestroy.c | 2 +- cpukit/posix/src/mutexattrgetprioceiling.c | 2 +- cpukit/posix/src/mutexattrgetprotocol.c | 2 +- cpukit/posix/src/mutexattrgetpshared.c | 2 +- cpukit/posix/src/mutexattrgettype.c | 2 +- cpukit/posix/src/mutexattrinit.c | 2 +- cpukit/posix/src/mutexattrsetprioceiling.c | 2 +- cpukit/posix/src/mutexattrsetprotocol.c | 2 +- cpukit/posix/src/mutexattrsetpshared.c | 2 +- cpukit/posix/src/mutexattrsettype.c | 2 +- cpukit/posix/src/mutexdestroy.c | 2 +- cpukit/posix/src/mutexgetprioceiling.c | 2 +- cpukit/posix/src/mutexinit.c | 2 +- cpukit/posix/src/mutexlock.c | 2 +- cpukit/posix/src/mutexlocksupp.c | 2 +- cpukit/posix/src/mutexsetprioceiling.c | 2 +- cpukit/posix/src/mutextimedlock.c | 2 +- cpukit/posix/src/mutextrylock.c | 2 +- cpukit/posix/src/mutexunlock.c | 2 +- cpukit/posix/src/psxpriorityisvalid.c | 2 +- cpukit/posix/src/psxtransschedparam.c | 2 +- cpukit/posix/src/pthread.c | 2 +- cpukit/posix/src/pthreadcreate.c | 2 +- cpukit/posix/src/pthreadgetschedparam.c | 2 +- cpukit/posix/src/pthreadinitthreads.c | 2 +- cpukit/posix/src/pthreadsetschedparam.c | 2 +- cpukit/posix/src/sched_getprioritymax.c | 2 +- cpukit/posix/src/sched_getprioritymin.c | 2 +- cpukit/posix/src/sched_getscheduler.c | 2 +- cpukit/posix/src/sched_setparam.c | 2 +- cpukit/posix/src/sched_setscheduler.c | 2 +- cpukit/posix/src/sched_yield.c | 2 +- cpukit/sapi/src/posixapi.c | 2 +- 39 files changed, 158 insertions(+), 190 deletions(-) delete mode 100644 cpukit/posix/include/rtems/posix/priority.h create mode 100644 cpukit/posix/include/rtems/posix/priorityimpl.h delete mode 100644 cpukit/posix/inline/rtems/posix/priority.inl (limited to 'cpukit') diff --git a/cpukit/posix/Makefile.am b/cpukit/posix/Makefile.am index 2ad712b04b..c4e66858cf 100644 --- a/cpukit/posix/Makefile.am +++ b/cpukit/posix/Makefile.am @@ -35,7 +35,7 @@ include_rtems_posix_HEADERS += include/rtems/posix/mqueueimpl.h include_rtems_posix_HEADERS += include/rtems/posix/mutex.h include_rtems_posix_HEADERS += include/rtems/posix/muteximpl.h include_rtems_posix_HEADERS += include/rtems/posix/posixapi.h -include_rtems_posix_HEADERS += include/rtems/posix/priority.h +include_rtems_posix_HEADERS += include/rtems/posix/priorityimpl.h include_rtems_posix_HEADERS += include/rtems/posix/psignal.h include_rtems_posix_HEADERS += include/rtems/posix/psignalimpl.h include_rtems_posix_HEADERS += include/rtems/posix/pthread.h @@ -52,7 +52,6 @@ include_rtems_posix_HEADERS += include/rtems/posix/spinlock.h include_rtems_posix_HEADERS += inline/rtems/posix/key.inl include_rtems_posix_HEADERS += inline/rtems/posix/pthread.inl -include_rtems_posix_HEADERS += inline/rtems/posix/priority.inl include_rtems_posix_HEADERS += inline/rtems/posix/timer.inl include_rtems_posix_HEADERS += inline/rtems/posix/rwlock.inl include_rtems_posix_HEADERS += inline/rtems/posix/spinlock.inl diff --git a/cpukit/posix/include/rtems/posix/priority.h b/cpukit/posix/include/rtems/posix/priority.h deleted file mode 100644 index e9ee2f900b..0000000000 --- a/cpukit/posix/include/rtems/posix/priority.h +++ /dev/null @@ -1,108 +0,0 @@ -/** - * @file - * - * @brief POSIX Priority Support - * - * This include file defines the interface to the POSIX priority - * implementation. - */ - -/* - * COPYRIGHT (c) 1989-2011. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - */ - -#ifndef _RTEMS_POSIX_PRIORITY_H -#define _RTEMS_POSIX_PRIORITY_H - -/** - * @defgroup POSIX_PRIORITY POSIX Priority Support - * - * @ingroup POSIXAPI - * - * @brief Interface to the POSIX Priority Implementation - * - */ -/**@{**/ - -#include - -/** - * 1003.1b-1993,2.2.2.80 definition of priority, p. 19 - * - * "Numerically higher values represent higher priorities." - * - * Thus, RTEMS Core has priorities run in the opposite sense of the POSIX API. - * - * There are only 254 posix priority levels since a task at priority level - * 255 would never run because of the RTEMS idle task. This is necessary - * because GNAT maps the lowest Ada task priority to the lowest thread - * priority. The lowest priority Ada task should get to run, so there is - * a fundamental conflict with having 255 priorities. - * - * But since RTEMS can be configured with fewer than 256 priorities, - * we use the internal constant. - */ -#define POSIX_SCHEDULER_MAXIMUM_PRIORITY (PRIORITY_MAXIMUM - 1) - - -/** - * This is the numerically least important POSIX priority. - */ -#define POSIX_SCHEDULER_MINIMUM_PRIORITY (1) - -/** - * @brief Check if POSIX priority is valid. - * - * 1003.1b-1993,2.2.2.80 definition of priority, p. 19 - * - * "Numerically higher values represent higher priorities." - * - * Thus, RTEMS Core has priorities run in the opposite sense of the POSIX API. - * - * @param[in] priority is the priority to test - * - * @retval TRUE The priority is valid. - * @retval FALSE The priority is invalid. - */ -bool _POSIX_Priority_Is_valid( - int priority -); - -/** - * @brief Convert POSIX priority to SuperCore priority. - * - * This method converts a POSIX API priority into onto the corresponding - * SuperCore value. - * - * @param[in] priority is the POSIX API priority. - * - * @return This method returns the corresponding SuperCore priority. - */ -RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core( - int priority -); - -/** - * @brief Convert SuperCore priority To POSIX priority. - * - * This method converts a SuperCore priority into onto the corresponding - * POSIX API value. - * - * @param[in] priority is the POSIX API priority. - * - * @return This method returns the corresponding POSIX priority. - */ -RTEMS_INLINE_ROUTINE int _POSIX_Priority_From_core( - Priority_Control priority -); - -#include - -/** @} */ - -#endif diff --git a/cpukit/posix/include/rtems/posix/priorityimpl.h b/cpukit/posix/include/rtems/posix/priorityimpl.h new file mode 100644 index 0000000000..63bb5e2e80 --- /dev/null +++ b/cpukit/posix/include/rtems/posix/priorityimpl.h @@ -0,0 +1,120 @@ +/** + * @file + * + * @brief POSIX Priority Support + * + * This include file defines the interface to the POSIX priority + * implementation. + */ + +/* + * COPYRIGHT (c) 1989-2011. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#ifndef _RTEMS_POSIX_PRIORITYIMPL_H +#define _RTEMS_POSIX_PRIORITYIMPL_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * @defgroup POSIX_PRIORITY POSIX Priority Support + * + * @ingroup POSIXAPI + * + * @brief Interface to the POSIX Priority Implementation + * + */ +/**@{**/ + +/** + * 1003.1b-1993,2.2.2.80 definition of priority, p. 19 + * + * "Numerically higher values represent higher priorities." + * + * Thus, RTEMS Core has priorities run in the opposite sense of the POSIX API. + * + * There are only 254 posix priority levels since a task at priority level + * 255 would never run because of the RTEMS idle task. This is necessary + * because GNAT maps the lowest Ada task priority to the lowest thread + * priority. The lowest priority Ada task should get to run, so there is + * a fundamental conflict with having 255 priorities. + * + * But since RTEMS can be configured with fewer than 256 priorities, + * we use the internal constant. + */ +#define POSIX_SCHEDULER_MAXIMUM_PRIORITY (PRIORITY_MAXIMUM - 1) + + +/** + * This is the numerically least important POSIX priority. + */ +#define POSIX_SCHEDULER_MINIMUM_PRIORITY (1) + +/** + * @brief Check if POSIX priority is valid. + * + * 1003.1b-1993,2.2.2.80 definition of priority, p. 19 + * + * "Numerically higher values represent higher priorities." + * + * Thus, RTEMS Core has priorities run in the opposite sense of the POSIX API. + * + * @param[in] priority is the priority to test + * + * @retval TRUE The priority is valid. + * @retval FALSE The priority is invalid. + */ +bool _POSIX_Priority_Is_valid( + int priority +); + +/** + * @brief Convert POSIX priority to SuperCore priority. + * + * This method converts a POSIX API priority into onto the corresponding + * SuperCore value. + * + * @param[in] priority is the POSIX API priority. + * + * @return This method returns the corresponding SuperCore priority. + */ +RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core( + int priority +) +{ + return (Priority_Control) (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1); +} + +/** + * @brief Convert SuperCore priority To POSIX priority. + * + * This method converts a SuperCore priority into onto the corresponding + * POSIX API value. + * + * @param[in] priority is the POSIX API priority. + * + * @return This method returns the corresponding POSIX priority. + */ +RTEMS_INLINE_ROUTINE int _POSIX_Priority_From_core( + Priority_Control priority +) +{ + return (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1); +} + +/** @} */ + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/cpukit/posix/inline/rtems/posix/priority.inl b/cpukit/posix/inline/rtems/posix/priority.inl deleted file mode 100644 index cae2242c78..0000000000 --- a/cpukit/posix/inline/rtems/posix/priority.inl +++ /dev/null @@ -1,39 +0,0 @@ -/** - * @file - * - * @brief Inline Methods Related to POSIX Priority Management - * - * This defines the static inline methods related to POSIX priority management. - */ - -/* - * COPYRIGHT (c) 1989-2011. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - */ - -#ifndef _RTEMS_POSIX_PRIORITY_H -# error "Never use directly; include instead." -#endif - -#ifndef _RTEMS_POSIX_PRIORITY_INL -#define _RTEMS_POSIX_PRIORITY_INL - -RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core( - int priority -) -{ - return (Priority_Control) (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1); -} - -RTEMS_INLINE_ROUTINE int _POSIX_Priority_From_core( - Priority_Control priority -) -{ - return (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1); -} - -#endif diff --git a/cpukit/posix/preinstall.am b/cpukit/posix/preinstall.am index 21d2098a8b..4548628b21 100644 --- a/cpukit/posix/preinstall.am +++ b/cpukit/posix/preinstall.am @@ -84,9 +84,9 @@ $(PROJECT_INCLUDE)/rtems/posix/posixapi.h: include/rtems/posix/posixapi.h $(PROJ $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/posixapi.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/posixapi.h -$(PROJECT_INCLUDE)/rtems/posix/priority.h: include/rtems/posix/priority.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp) - $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/priority.h -PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/priority.h +$(PROJECT_INCLUDE)/rtems/posix/priorityimpl.h: include/rtems/posix/priorityimpl.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/priorityimpl.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/priorityimpl.h $(PROJECT_INCLUDE)/rtems/posix/psignal.h: include/rtems/posix/psignal.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/psignal.h @@ -148,10 +148,6 @@ $(PROJECT_INCLUDE)/rtems/posix/pthread.inl: inline/rtems/posix/pthread.inl $(PRO $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/pthread.inl PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/pthread.inl -$(PROJECT_INCLUDE)/rtems/posix/priority.inl: inline/rtems/posix/priority.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp) - $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/priority.inl -PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/priority.inl - $(PROJECT_INCLUDE)/rtems/posix/timer.inl: inline/rtems/posix/timer.inl $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/timer.inl PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/timer.inl diff --git a/cpukit/posix/src/mutex.c b/cpukit/posix/src/mutex.c index 31892db473..4a5c6782f6 100644 --- a/cpukit/posix/src/mutex.c +++ b/cpukit/posix/src/mutex.c @@ -30,7 +30,7 @@ #include #endif #include -#include +#include #include /* diff --git a/cpukit/posix/src/mutexattrdestroy.c b/cpukit/posix/src/mutexattrdestroy.c index 322063864e..8c077e8670 100644 --- a/cpukit/posix/src/mutexattrdestroy.c +++ b/cpukit/posix/src/mutexattrdestroy.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include /** diff --git a/cpukit/posix/src/mutexattrgetprioceiling.c b/cpukit/posix/src/mutexattrgetprioceiling.c index 7903b3f059..c58e3f5787 100644 --- a/cpukit/posix/src/mutexattrgetprioceiling.c +++ b/cpukit/posix/src/mutexattrgetprioceiling.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include /* diff --git a/cpukit/posix/src/mutexattrgetprotocol.c b/cpukit/posix/src/mutexattrgetprotocol.c index 46533a106c..c00d0e2cd7 100644 --- a/cpukit/posix/src/mutexattrgetprotocol.c +++ b/cpukit/posix/src/mutexattrgetprotocol.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include /* diff --git a/cpukit/posix/src/mutexattrgetpshared.c b/cpukit/posix/src/mutexattrgetpshared.c index 63afe574fe..810858e9d6 100644 --- a/cpukit/posix/src/mutexattrgetpshared.c +++ b/cpukit/posix/src/mutexattrgetpshared.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include /* diff --git a/cpukit/posix/src/mutexattrgettype.c b/cpukit/posix/src/mutexattrgettype.c index 97ea551180..2dfef98269 100644 --- a/cpukit/posix/src/mutexattrgettype.c +++ b/cpukit/posix/src/mutexattrgettype.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include #if defined(_UNIX98_THREAD_MUTEX_ATTRIBUTES) diff --git a/cpukit/posix/src/mutexattrinit.c b/cpukit/posix/src/mutexattrinit.c index d862cdc7c3..a711c386de 100644 --- a/cpukit/posix/src/mutexattrinit.c +++ b/cpukit/posix/src/mutexattrinit.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include /** diff --git a/cpukit/posix/src/mutexattrsetprioceiling.c b/cpukit/posix/src/mutexattrsetprioceiling.c index 49935bb8a3..3f7cc50c14 100644 --- a/cpukit/posix/src/mutexattrsetprioceiling.c +++ b/cpukit/posix/src/mutexattrsetprioceiling.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include /* diff --git a/cpukit/posix/src/mutexattrsetprotocol.c b/cpukit/posix/src/mutexattrsetprotocol.c index 4718606d72..c77154249a 100644 --- a/cpukit/posix/src/mutexattrsetprotocol.c +++ b/cpukit/posix/src/mutexattrsetprotocol.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include /* diff --git a/cpukit/posix/src/mutexattrsetpshared.c b/cpukit/posix/src/mutexattrsetpshared.c index 9075094d83..cc865e65f0 100644 --- a/cpukit/posix/src/mutexattrsetpshared.c +++ b/cpukit/posix/src/mutexattrsetpshared.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include /* diff --git a/cpukit/posix/src/mutexattrsettype.c b/cpukit/posix/src/mutexattrsettype.c index 43a977c10f..c6fff82753 100644 --- a/cpukit/posix/src/mutexattrsettype.c +++ b/cpukit/posix/src/mutexattrsettype.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include #if defined(_UNIX98_THREAD_MUTEX_ATTRIBUTES) diff --git a/cpukit/posix/src/mutexdestroy.c b/cpukit/posix/src/mutexdestroy.c index 986ebb33f7..9950d7292d 100644 --- a/cpukit/posix/src/mutexdestroy.c +++ b/cpukit/posix/src/mutexdestroy.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include /* diff --git a/cpukit/posix/src/mutexgetprioceiling.c b/cpukit/posix/src/mutexgetprioceiling.c index b276505027..53298e2040 100644 --- a/cpukit/posix/src/mutexgetprioceiling.c +++ b/cpukit/posix/src/mutexgetprioceiling.c @@ -28,7 +28,7 @@ #include #endif #include -#include +#include #include /* diff --git a/cpukit/posix/src/mutexinit.c b/cpukit/posix/src/mutexinit.c index 36844c8941..e7663c988b 100644 --- a/cpukit/posix/src/mutexinit.c +++ b/cpukit/posix/src/mutexinit.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include /** diff --git a/cpukit/posix/src/mutexlock.c b/cpukit/posix/src/mutexlock.c index 7df3511a74..9ccb4059bb 100644 --- a/cpukit/posix/src/mutexlock.c +++ b/cpukit/posix/src/mutexlock.c @@ -28,7 +28,7 @@ #include #endif #include -#include +#include #include /* diff --git a/cpukit/posix/src/mutexlocksupp.c b/cpukit/posix/src/mutexlocksupp.c index 3bcf92447f..c61728508f 100644 --- a/cpukit/posix/src/mutexlocksupp.c +++ b/cpukit/posix/src/mutexlocksupp.c @@ -28,7 +28,7 @@ #include #endif #include -#include +#include #include /* diff --git a/cpukit/posix/src/mutexsetprioceiling.c b/cpukit/posix/src/mutexsetprioceiling.c index 90ac2a3f28..74ce50c0d5 100644 --- a/cpukit/posix/src/mutexsetprioceiling.c +++ b/cpukit/posix/src/mutexsetprioceiling.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include /* diff --git a/cpukit/posix/src/mutextimedlock.c b/cpukit/posix/src/mutextimedlock.c index b054a3fa07..bcf7fdd9bd 100644 --- a/cpukit/posix/src/mutextimedlock.c +++ b/cpukit/posix/src/mutextimedlock.c @@ -28,7 +28,7 @@ #include #endif #include -#include +#include #include /** diff --git a/cpukit/posix/src/mutextrylock.c b/cpukit/posix/src/mutextrylock.c index 2e65af0d35..2f8615c2bb 100644 --- a/cpukit/posix/src/mutextrylock.c +++ b/cpukit/posix/src/mutextrylock.c @@ -28,7 +28,7 @@ #include #endif #include -#include +#include #include /** diff --git a/cpukit/posix/src/mutexunlock.c b/cpukit/posix/src/mutexunlock.c index a7dbd2239b..d1673576d4 100644 --- a/cpukit/posix/src/mutexunlock.c +++ b/cpukit/posix/src/mutexunlock.c @@ -28,7 +28,7 @@ #include #endif #include -#include +#include #include /* diff --git a/cpukit/posix/src/psxpriorityisvalid.c b/cpukit/posix/src/psxpriorityisvalid.c index eda424e420..7e7c57943a 100644 --- a/cpukit/posix/src/psxpriorityisvalid.c +++ b/cpukit/posix/src/psxpriorityisvalid.c @@ -19,7 +19,7 @@ #endif #include -#include +#include bool _POSIX_Priority_Is_valid( int priority diff --git a/cpukit/posix/src/psxtransschedparam.c b/cpukit/posix/src/psxtransschedparam.c index 3c42ee15e3..e528acaace 100644 --- a/cpukit/posix/src/psxtransschedparam.c +++ b/cpukit/posix/src/psxtransschedparam.c @@ -23,7 +23,7 @@ #include #include -#include +#include #include int _POSIX_Thread_Translate_sched_param( diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c index e52f2e901b..1aa64c713a 100644 --- a/cpukit/posix/src/pthread.c +++ b/cpukit/posix/src/pthread.c @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/cpukit/posix/src/pthreadcreate.c b/cpukit/posix/src/pthreadcreate.c index 118dcafad3..78e77acac0 100644 --- a/cpukit/posix/src/pthreadcreate.c +++ b/cpukit/posix/src/pthreadcreate.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include #include diff --git a/cpukit/posix/src/pthreadgetschedparam.c b/cpukit/posix/src/pthreadgetschedparam.c index ee430715e8..0060682bdd 100644 --- a/cpukit/posix/src/pthreadgetschedparam.c +++ b/cpukit/posix/src/pthreadgetschedparam.c @@ -26,7 +26,7 @@ #include #include -#include +#include int pthread_getschedparam( pthread_t thread, diff --git a/cpukit/posix/src/pthreadinitthreads.c b/cpukit/posix/src/pthreadinitthreads.c index 8b17e06a14..df92c2e570 100644 --- a/cpukit/posix/src/pthreadinitthreads.c +++ b/cpukit/posix/src/pthreadinitthreads.c @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/cpukit/posix/src/pthreadsetschedparam.c b/cpukit/posix/src/pthreadsetschedparam.c index 5fcc816d86..e7a6161b84 100644 --- a/cpukit/posix/src/pthreadsetschedparam.c +++ b/cpukit/posix/src/pthreadsetschedparam.c @@ -27,7 +27,7 @@ #include #include -#include +#include #include int pthread_setschedparam( diff --git a/cpukit/posix/src/sched_getprioritymax.c b/cpukit/posix/src/sched_getprioritymax.c index ab4c2056d1..5b41311f3a 100644 --- a/cpukit/posix/src/sched_getprioritymax.c +++ b/cpukit/posix/src/sched_getprioritymax.c @@ -25,7 +25,7 @@ #include #include -#include +#include int sched_get_priority_max( int policy diff --git a/cpukit/posix/src/sched_getprioritymin.c b/cpukit/posix/src/sched_getprioritymin.c index d419e66431..81f78720b5 100644 --- a/cpukit/posix/src/sched_getprioritymin.c +++ b/cpukit/posix/src/sched_getprioritymin.c @@ -23,7 +23,7 @@ #include #include -#include +#include /** * 13.3.6 Get Scheduling Parameter Limits, P1003.1b-1993, p. 258 diff --git a/cpukit/posix/src/sched_getscheduler.c b/cpukit/posix/src/sched_getscheduler.c index 92da28f854..ed958e0221 100644 --- a/cpukit/posix/src/sched_getscheduler.c +++ b/cpukit/posix/src/sched_getscheduler.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include int sched_getscheduler( diff --git a/cpukit/posix/src/sched_setparam.c b/cpukit/posix/src/sched_setparam.c index e291292555..6a2047d031 100644 --- a/cpukit/posix/src/sched_setparam.c +++ b/cpukit/posix/src/sched_setparam.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include int sched_setparam( diff --git a/cpukit/posix/src/sched_setscheduler.c b/cpukit/posix/src/sched_setscheduler.c index fef66f2aa7..1ce173ff5c 100644 --- a/cpukit/posix/src/sched_setscheduler.c +++ b/cpukit/posix/src/sched_setscheduler.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include int sched_setscheduler( diff --git a/cpukit/posix/src/sched_yield.c b/cpukit/posix/src/sched_yield.c index d9e5d9b852..d976f10192 100644 --- a/cpukit/posix/src/sched_yield.c +++ b/cpukit/posix/src/sched_yield.c @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include int sched_yield( void ) diff --git a/cpukit/sapi/src/posixapi.c b/cpukit/sapi/src/posixapi.c index f2f138dc20..a9d88f4c15 100644 --- a/cpukit/sapi/src/posixapi.c +++ b/cpukit/sapi/src/posixapi.c @@ -35,7 +35,7 @@ #include #include #include -#include +#include #include #include #include -- cgit v1.2.3