mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
cpukit: Remove unused includes
This commit is contained in:
committed by
Joel Sherrill
parent
5b22003411
commit
e7cb79c39d
@@ -39,7 +39,6 @@
|
||||
#include <pthread.h>
|
||||
|
||||
#include <rtems.h>
|
||||
#include <rtems/error.h>
|
||||
#include <rtems/thread.h>
|
||||
#include <rtems/score/assert.h>
|
||||
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include <rtems.h>
|
||||
#include <rtems/seterr.h>
|
||||
|
||||
/**
|
||||
* 4.1.1 Get Process and Parent Process IDs, P1003.1b-1993, p. 83
|
||||
|
||||
@@ -46,8 +46,6 @@
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#include <rtems/seterr.h>
|
||||
|
||||
pid_t _POSIX_types_Ppid = 0;
|
||||
|
||||
/**
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
*/
|
||||
#include <unistd.h>
|
||||
#include <reent.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
int _isatty_r(
|
||||
struct _reent *ptr,
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <rtems/libio_.h>
|
||||
#include <rtems/score/threaddispatch.h>
|
||||
|
||||
rtems_interrupt_lock rtems_filesystem_mt_entry_lock_control =
|
||||
RTEMS_INTERRUPT_LOCK_INITIALIZER("mount table entry");
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
#endif
|
||||
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/score/todimpl.h>
|
||||
|
||||
/*
|
||||
* 11.4.4 Waiting on a Condition, P1003.1c/Draft 10, p. 105
|
||||
|
||||
@@ -47,7 +47,6 @@
|
||||
#include <rtems/posix/pthreadimpl.h>
|
||||
#include <rtems/posix/psignalimpl.h>
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/schedulerimpl.h>
|
||||
#include <rtems/score/statesimpl.h>
|
||||
#include <rtems/seterr.h>
|
||||
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
#include <rtems/score/coremuteximpl.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
#include <rtems/posix/priorityimpl.h>
|
||||
|
||||
/*
|
||||
* 13.6.1 Mutex Initialization Scheduling Attributes, P1003.1c/Draft 10, p. 128
|
||||
|
||||
@@ -41,8 +41,6 @@
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
#include <rtems/posix/posixapi.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
bool _POSIX_Mutex_Auto_initialization( POSIX_Mutex_Control *the_mutex )
|
||||
{
|
||||
unsigned long zero;
|
||||
|
||||
@@ -50,7 +50,6 @@
|
||||
#include <rtems/posix/psignalimpl.h>
|
||||
#include <rtems/posix/pthreadimpl.h>
|
||||
#include <rtems/config.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/sysinit.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/posix/threadsup.h>
|
||||
#include <rtems/posix/psignalimpl.h>
|
||||
#include <rtems/posix/pthreadimpl.h>
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
|
||||
#include <rtems/score/isr.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/posix/threadsup.h>
|
||||
#include <rtems/posix/psignalimpl.h>
|
||||
#include <rtems/posix/pthreadimpl.h>
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
#include <rtems/score/threadimpl.h>
|
||||
#include <rtems/score/threadqimpl.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/posix/threadsup.h>
|
||||
#include <rtems/posix/psignalimpl.h>
|
||||
#include <rtems/posix/pthreadimpl.h>
|
||||
|
||||
@@ -47,7 +47,6 @@
|
||||
#include <rtems/posix/pthreadimpl.h>
|
||||
#include <rtems/posix/pthreadattrimpl.h>
|
||||
#include <rtems/posix/priorityimpl.h>
|
||||
#include <rtems/score/schedulerimpl.h>
|
||||
#include <rtems/score/threadimpl.h>
|
||||
|
||||
int pthread_getschedparam(
|
||||
|
||||
@@ -49,7 +49,6 @@
|
||||
#include <rtems/posix/pthreadimpl.h>
|
||||
#include <rtems/posix/priorityimpl.h>
|
||||
#include <rtems/score/threadimpl.h>
|
||||
#include <rtems/score/schedulerimpl.h>
|
||||
|
||||
static int _POSIX_Set_sched_param(
|
||||
Thread_Control *the_thread,
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
#endif
|
||||
|
||||
#include <rtems/rbtree.h>
|
||||
#include <rtems/score/rbtreeimpl.h>
|
||||
|
||||
RTEMS_STATIC_ASSERT(
|
||||
sizeof( rtems_rbtree_compare_result ) >= sizeof( intptr_t ),
|
||||
|
||||
@@ -45,8 +45,6 @@
|
||||
#include <rtems/score/threadimpl.h>
|
||||
#include <rtems/score/interr.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#if CPU_ALIGNMENT == 0 || CPU_ALIGNMENT % 2 != 0
|
||||
#error "invalid CPU_ALIGNMENT value"
|
||||
#endif
|
||||
|
||||
@@ -42,7 +42,6 @@
|
||||
#include <rtems/score/objectimpl.h>
|
||||
#include <rtems/score/address.h>
|
||||
#include <rtems/score/chainimpl.h>
|
||||
#include <rtems/score/interr.h>
|
||||
#include <rtems/score/sysstate.h>
|
||||
|
||||
void _Objects_Initialize_information(
|
||||
|
||||
@@ -46,10 +46,8 @@
|
||||
#include <rtems/score/apimutex.h>
|
||||
#include <rtems/score/assert.h>
|
||||
#include <rtems/score/chainimpl.h>
|
||||
#include <rtems/score/freechainimpl.h>
|
||||
#include <rtems/score/isrlock.h>
|
||||
#include <rtems/score/schedulerimpl.h>
|
||||
#include <rtems/score/stackimpl.h>
|
||||
#include <rtems/score/sysstate.h>
|
||||
#include <rtems/score/threadqimpl.h>
|
||||
#include <rtems/score/userextimpl.h>
|
||||
|
||||
@@ -47,8 +47,6 @@
|
||||
|
||||
#include <rtems/score/userextimpl.h>
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
User_extensions_List _User_extensions_List = {
|
||||
CHAIN_INITIALIZER_EMPTY( _User_extensions_List.Active ),
|
||||
CHAIN_ITERATOR_REGISTRY_INITIALIZER( _User_extensions_List.Iterators )
|
||||
|
||||
Reference in New Issue
Block a user