summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-03-23 13:07:29 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-03-23 13:07:29 +0000
commit39cefdda936dcd1e6336391efb85776dd7b86ef9 (patch)
tree48a1fd769bad2226ef47df632fd9faadb3de47bf /cpukit/posix
parenta4365e480f182003c2ca120aaee66a00621e662a (diff)
downloadrtems-39cefdda936dcd1e6336391efb85776dd7b86ef9.tar.bz2
2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org>
* posix/include/rtems/posix/cond.h, posix/include/rtems/posix/intr.h, posix/include/rtems/posix/key.h, posix/include/rtems/posix/mqueue.h, posix/include/rtems/posix/mutex.h, posix/include/rtems/posix/pthread.h, posix/include/rtems/posix/semaphore.h, posix/include/rtems/posix/threadsup.h, posix/include/rtems/posix/timer.h, posix/src/cond.c, posix/src/intr.c, posix/src/key.c, posix/src/keycreate.c, posix/src/keydelete.c, posix/src/keygetspecific.c, posix/src/keyrundestructors.c, posix/src/keysetspecific.c, posix/src/killinfo.c, posix/src/mqueue.c, posix/src/mqueuerecvsupp.c, posix/src/mqueuesendsupp.c, posix/src/mqueuetranslatereturncode.c, posix/src/mutex.c, posix/src/posixintervaltotimespec.c, posix/src/posixtimespecsubtract.c, posix/src/psignal.c, posix/src/pthread.c, posix/src/ptimer1.c, posix/src/semaphore.c, posix/src/sysconf.c: Convert to using c99 fixed size types.
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/include/rtems/posix/cond.h2
-rw-r--r--cpukit/posix/include/rtems/posix/intr.h2
-rw-r--r--cpukit/posix/include/rtems/posix/key.h2
-rw-r--r--cpukit/posix/include/rtems/posix/mqueue.h10
-rw-r--r--cpukit/posix/include/rtems/posix/mutex.h2
-rw-r--r--cpukit/posix/include/rtems/posix/pthread.h6
-rw-r--r--cpukit/posix/include/rtems/posix/semaphore.h4
-rw-r--r--cpukit/posix/include/rtems/posix/threadsup.h2
-rw-r--r--cpukit/posix/include/rtems/posix/timer.h18
-rw-r--r--cpukit/posix/src/cond.c2
-rw-r--r--cpukit/posix/src/intr.c4
-rw-r--r--cpukit/posix/src/key.c2
-rw-r--r--cpukit/posix/src/keycreate.c4
-rw-r--r--cpukit/posix/src/keydelete.c2
-rw-r--r--cpukit/posix/src/keygetspecific.c4
-rw-r--r--cpukit/posix/src/keyrundestructors.c8
-rw-r--r--cpukit/posix/src/keysetspecific.c4
-rw-r--r--cpukit/posix/src/killinfo.c6
-rw-r--r--cpukit/posix/src/mqueue.c2
-rw-r--r--cpukit/posix/src/mqueuerecvsupp.c2
-rw-r--r--cpukit/posix/src/mqueuesendsupp.c4
-rw-r--r--cpukit/posix/src/mqueuetranslatereturncode.c2
-rw-r--r--cpukit/posix/src/mutex.c2
-rw-r--r--cpukit/posix/src/posixintervaltotimespec.c2
-rw-r--r--cpukit/posix/src/posixtimespecsubtract.c2
-rw-r--r--cpukit/posix/src/psignal.c2
-rw-r--r--cpukit/posix/src/pthread.c14
-rw-r--r--cpukit/posix/src/ptimer1.c10
-rw-r--r--cpukit/posix/src/semaphore.c2
-rw-r--r--cpukit/posix/src/sysconf.c2
30 files changed, 65 insertions, 65 deletions
diff --git a/cpukit/posix/include/rtems/posix/cond.h b/cpukit/posix/include/rtems/posix/cond.h
index e162356bf6..594b0b45ec 100644
--- a/cpukit/posix/include/rtems/posix/cond.h
+++ b/cpukit/posix/include/rtems/posix/cond.h
@@ -63,7 +63,7 @@ extern const pthread_condattr_t _POSIX_Condition_variables_Default_attributes;
*/
void _POSIX_Condition_variables_Manager_initialization(
- unsigned32 maximum_condition_variables
+ uint32_t maximum_condition_variables
);
/*
diff --git a/cpukit/posix/include/rtems/posix/intr.h b/cpukit/posix/include/rtems/posix/intr.h
index 5e17a03252..dab99348b7 100644
--- a/cpukit/posix/include/rtems/posix/intr.h
+++ b/cpukit/posix/include/rtems/posix/intr.h
@@ -71,7 +71,7 @@ POSIX_EXTERN POSIX_Interrupt_Control
*/
void _POSIX_Interrupt_Manager_initialization(
- unsigned32 maximum_interrupt_handlers
+ uint32_t maximum_interrupt_handlers
);
/*
diff --git a/cpukit/posix/include/rtems/posix/key.h b/cpukit/posix/include/rtems/posix/key.h
index f265984ecd..de7cfe4c1b 100644
--- a/cpukit/posix/include/rtems/posix/key.h
+++ b/cpukit/posix/include/rtems/posix/key.h
@@ -50,7 +50,7 @@ POSIX_EXTERN Objects_Information _POSIX_Keys_Information;
*/
void _POSIX_Key_Manager_initialization(
- unsigned32 maximum_keys
+ uint32_t maximum_keys
);
/*
diff --git a/cpukit/posix/include/rtems/posix/mqueue.h b/cpukit/posix/include/rtems/posix/mqueue.h
index f8795536e0..ec649b4030 100644
--- a/cpukit/posix/include/rtems/posix/mqueue.h
+++ b/cpukit/posix/include/rtems/posix/mqueue.h
@@ -34,7 +34,7 @@ typedef struct {
int process_shared;
boolean named;
boolean linked;
- unsigned32 open_count;
+ uint32_t open_count;
CORE_message_queue_Control Message_queue;
struct sigevent notification;
} POSIX_Message_queue_Control;
@@ -63,7 +63,7 @@ POSIX_EXTERN Objects_Information _POSIX_Message_queue_Information_fds;
*/
void _POSIX_Message_queue_Manager_initialization(
- unsigned32 maximum_message_queues
+ uint32_t maximum_message_queues
);
/*
@@ -123,8 +123,8 @@ ssize_t _POSIX_Message_queue_Receive_support(
int _POSIX_Message_queue_Send_support(
mqd_t mqdes,
const char *msg_ptr,
- unsigned32 msg_len,
- unsigned32 msg_prio,
+ uint32_t msg_len,
+ uint32_t msg_prio,
Watchdog_Interval timeout
);
@@ -231,7 +231,7 @@ RTEMS_INLINE_ROUTINE unsigned int _POSIX_Message_queue_Priority_from_core(
*/
int _POSIX_Message_queue_Translate_core_message_queue_return_code(
- unsigned32 the_message_queue_status
+ uint32_t the_message_queue_status
);
diff --git a/cpukit/posix/include/rtems/posix/mutex.h b/cpukit/posix/include/rtems/posix/mutex.h
index 8da830bdf1..57cb2d1d06 100644
--- a/cpukit/posix/include/rtems/posix/mutex.h
+++ b/cpukit/posix/include/rtems/posix/mutex.h
@@ -55,7 +55,7 @@ extern const pthread_mutexattr_t _POSIX_Mutex_Default_attributes;
*/
void _POSIX_Mutex_Manager_initialization(
- unsigned32 maximum_mutexes
+ uint32_t maximum_mutexes
);
/*
diff --git a/cpukit/posix/include/rtems/posix/pthread.h b/cpukit/posix/include/rtems/posix/pthread.h
index a46531d33b..e4ea6008d6 100644
--- a/cpukit/posix/include/rtems/posix/pthread.h
+++ b/cpukit/posix/include/rtems/posix/pthread.h
@@ -38,7 +38,7 @@ POSIX_EXTERN Objects_Information _POSIX_Threads_Information;
POSIX_EXTERN posix_initialization_threads_table
*_POSIX_Threads_User_initialization_threads;
-POSIX_EXTERN unsigned32 _POSIX_Threads_Number_of_initialization_threads;
+POSIX_EXTERN uint32_t _POSIX_Threads_Number_of_initialization_threads;
extern const pthread_attr_t _POSIX_Threads_Default_attributes;
@@ -51,8 +51,8 @@ extern const pthread_attr_t _POSIX_Threads_Default_attributes;
*/
void _POSIX_Threads_Manager_initialization(
- unsigned32 maximum_pthreads,
- unsigned32 number_of_initialization_threads,
+ uint32_t maximum_pthreads,
+ uint32_t number_of_initialization_threads,
posix_initialization_threads_table *user_threads
);
diff --git a/cpukit/posix/include/rtems/posix/semaphore.h b/cpukit/posix/include/rtems/posix/semaphore.h
index 6cbed61394..e4330fc641 100644
--- a/cpukit/posix/include/rtems/posix/semaphore.h
+++ b/cpukit/posix/include/rtems/posix/semaphore.h
@@ -34,7 +34,7 @@ typedef struct {
int process_shared;
boolean named;
boolean linked;
- unsigned32 open_count;
+ uint32_t open_count;
CORE_semaphore_Control Semaphore;
} POSIX_Semaphore_Control;
@@ -54,7 +54,7 @@ POSIX_EXTERN Objects_Information _POSIX_Semaphore_Information;
*/
void _POSIX_Semaphore_Manager_initialization(
- unsigned32 maximum_semaphorees
+ uint32_t maximum_semaphorees
);
/*
diff --git a/cpukit/posix/include/rtems/posix/threadsup.h b/cpukit/posix/include/rtems/posix/threadsup.h
index 2ffc606911..a8dc3720eb 100644
--- a/cpukit/posix/include/rtems/posix/threadsup.h
+++ b/cpukit/posix/include/rtems/posix/threadsup.h
@@ -26,7 +26,7 @@ typedef struct {
/*
* POSIX Interrupts
*/
- unsigned32 interrupts_installed;
+ uint32_t interrupts_installed;
CORE_semaphore_Control Interrupt_Semaphore;
#endif
diff --git a/cpukit/posix/include/rtems/posix/timer.h b/cpukit/posix/include/rtems/posix/timer.h
index 5726c270f5..607ac1d824 100644
--- a/cpukit/posix/include/rtems/posix/timer.h
+++ b/cpukit/posix/include/rtems/posix/timer.h
@@ -14,22 +14,22 @@
#define STATE_CREATE_RUN_C 0x03 /* Created timer and running */
#define STATE_CREATE_STOP_C 0x04 /* Created, ran and stopped timer */
/* Maximum number of nsec allowed */
-#define MAX_NSEC_C (unsigned32)1000000000
+#define MAX_NSEC_C (uint32_t )1000000000
#define MIN_NSEC_C 0 /* Minimum number of nsec allowew */
#define TIMER_RELATIVE_C 0 /* Indicates that the fire time is
* relative to the current one */
#define SEC_TO_TICKS_C _TOD_Ticks_per_second /* Number of ticks in a second*/
/* Nanoseconds in a second */
-#define NSEC_PER_SEC_C (unsigned32)1000000000
+#define NSEC_PER_SEC_C (uint32_t )1000000000
#define NO_MORE_TIMERS_C 11 /* There is not available timers */
#define BAD_TIMER_C 11 /* The timer does not exist in the table */
-#define SECONDS_PER_YEAR_C (unsigned32)(360 * 24) * (unsigned32)(60 * 60)
-#define SECONDS_PER_MONTH_C (unsigned32)( 30 * 24) * (unsigned32)(60 * 60)
-#define SECONDS_PER_DAY_C (unsigned32)( 24 * 60) * (unsigned32)(60)
-#define SECONDS_PER_HOUR_C (unsigned32)( 60 * 60 )
-#define SECONDS_PER_MINUTE_C (unsigned32)( 60 )
+#define SECONDS_PER_YEAR_C (uint32_t )(360 * 24) * (uint32_t )(60 * 60)
+#define SECONDS_PER_MONTH_C (uint32_t )( 30 * 24) * (uint32_t )(60 * 60)
+#define SECONDS_PER_DAY_C (uint32_t )( 24 * 60) * (uint32_t )(60)
+#define SECONDS_PER_HOUR_C (uint32_t )( 60 * 60 )
+#define SECONDS_PER_MINUTE_C (uint32_t )( 60 )
/*
@@ -45,8 +45,8 @@ typedef struct {
struct sigevent inf; /* Information associated to the timer */
timer_t timer_id; /* Created timer identifier */
struct itimerspec timer_data; /* Timing data of the timer */
- unsigned32 ticks; /* Number of ticks of the initialization */
- unsigned32 overrun; /* Number of expirations of the timer */
+ uint32_t ticks; /* Number of ticks of the initialization */
+ uint32_t overrun; /* Number of expirations of the timer */
rtems_time_of_day time; /* Time in which the timer was started */
} POSIX_Timer_Control;
diff --git a/cpukit/posix/src/cond.c b/cpukit/posix/src/cond.c
index f02a62275f..942f6f2107 100644
--- a/cpukit/posix/src/cond.c
+++ b/cpukit/posix/src/cond.c
@@ -31,7 +31,7 @@
*/
void _POSIX_Condition_variables_Manager_initialization(
- unsigned32 maximum_condition_variables
+ uint32_t maximum_condition_variables
)
{
_Objects_Initialize_information(
diff --git a/cpukit/posix/src/intr.c b/cpukit/posix/src/intr.c
index 7688142ddf..8dcbd2933d 100644
--- a/cpukit/posix/src/intr.c
+++ b/cpukit/posix/src/intr.c
@@ -34,10 +34,10 @@
*/
void _POSIX_Interrupt_Manager_initialization(
- unsigned32 maximum_interrupt_handlers
+ uint32_t maximum_interrupt_handlers
)
{
- unsigned32 index;
+ uint32_t index;
POSIX_Interrupt_Control *the_vector;
_Objects_Initialize_information(
diff --git a/cpukit/posix/src/key.c b/cpukit/posix/src/key.c
index 54f7213424..5b505c57ce 100644
--- a/cpukit/posix/src/key.c
+++ b/cpukit/posix/src/key.c
@@ -25,7 +25,7 @@
*/
void _POSIX_Key_Manager_initialization(
- unsigned32 maximum_keys
+ uint32_t maximum_keys
)
{
_Objects_Initialize_information(
diff --git a/cpukit/posix/src/keycreate.c b/cpukit/posix/src/keycreate.c
index bcb881e756..a86e174316 100644
--- a/cpukit/posix/src/keycreate.c
+++ b/cpukit/posix/src/keycreate.c
@@ -28,8 +28,8 @@ int pthread_key_create(
{
POSIX_Keys_Control *the_key;
void *table;
- unsigned32 the_api;
- unsigned32 bytes_to_allocate;
+ uint32_t the_api;
+ uint32_t bytes_to_allocate;
_Thread_Disable_dispatch();
diff --git a/cpukit/posix/src/keydelete.c b/cpukit/posix/src/keydelete.c
index 1d595f2b8e..1376ea0986 100644
--- a/cpukit/posix/src/keydelete.c
+++ b/cpukit/posix/src/keydelete.c
@@ -27,7 +27,7 @@ int pthread_key_delete(
{
register POSIX_Keys_Control *the_key;
Objects_Locations location;
- unsigned32 the_api;
+ uint32_t the_api;
the_key = _POSIX_Keys_Get( key, &location );
switch ( location ) {
diff --git a/cpukit/posix/src/keygetspecific.c b/cpukit/posix/src/keygetspecific.c
index ef3fd736a7..6e20127306 100644
--- a/cpukit/posix/src/keygetspecific.c
+++ b/cpukit/posix/src/keygetspecific.c
@@ -26,8 +26,8 @@ void *pthread_getspecific(
)
{
register POSIX_Keys_Control *the_key;
- unsigned32 index;
- unsigned32 class;
+ uint32_t index;
+ uint32_t class;
Objects_Locations location;
void *key_data;
diff --git a/cpukit/posix/src/keyrundestructors.c b/cpukit/posix/src/keyrundestructors.c
index f07e9fe548..f778d076b8 100644
--- a/cpukit/posix/src/keyrundestructors.c
+++ b/cpukit/posix/src/keyrundestructors.c
@@ -30,10 +30,10 @@ void _POSIX_Keys_Run_destructors(
Thread_Control *thread
)
{
- unsigned32 index;
- unsigned32 pthread_index;
- unsigned32 pthread_class;
- unsigned32 iterations;
+ uint32_t index;
+ uint32_t pthread_index;
+ uint32_t pthread_class;
+ uint32_t iterations;
boolean are_all_null;
POSIX_Keys_Control *the_key;
void *value;
diff --git a/cpukit/posix/src/keysetspecific.c b/cpukit/posix/src/keysetspecific.c
index 0f51f08d6b..d62151a499 100644
--- a/cpukit/posix/src/keysetspecific.c
+++ b/cpukit/posix/src/keysetspecific.c
@@ -27,8 +27,8 @@ int pthread_setspecific(
)
{
register POSIX_Keys_Control *the_key;
- unsigned32 index;
- unsigned32 class;
+ uint32_t index;
+ uint32_t class;
Objects_Locations location;
the_key = _POSIX_Keys_Get( key, &location );
diff --git a/cpukit/posix/src/killinfo.c b/cpukit/posix/src/killinfo.c
index 0056295430..94ffcea3b0 100644
--- a/cpukit/posix/src/killinfo.c
+++ b/cpukit/posix/src/killinfo.c
@@ -44,9 +44,9 @@ int killinfo(
{
sigset_t mask;
POSIX_API_Control *api;
- unsigned32 the_api;
- unsigned32 index;
- unsigned32 maximum;
+ uint32_t the_api;
+ uint32_t index;
+ uint32_t maximum;
Objects_Information *the_info;
Objects_Control **object_table;
Thread_Control *the_thread;
diff --git a/cpukit/posix/src/mqueue.c b/cpukit/posix/src/mqueue.c
index 1bfde0b623..445da6a938 100644
--- a/cpukit/posix/src/mqueue.c
+++ b/cpukit/posix/src/mqueue.c
@@ -46,7 +46,7 @@
*/
void _POSIX_Message_queue_Manager_initialization(
- unsigned32 maximum_message_queues
+ uint32_t maximum_message_queues
)
{
_Objects_Initialize_information(
diff --git a/cpukit/posix/src/mqueuerecvsupp.c b/cpukit/posix/src/mqueuerecvsupp.c
index 11d8fbc50c..2938f1b8de 100644
--- a/cpukit/posix/src/mqueuerecvsupp.c
+++ b/cpukit/posix/src/mqueuerecvsupp.c
@@ -51,7 +51,7 @@ ssize_t _POSIX_Message_queue_Receive_support(
POSIX_Message_queue_Control *the_mq;
POSIX_Message_queue_Control_fd *the_mq_fd;
Objects_Locations location;
- unsigned32 length_out;
+ uint32_t length_out;
the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );
switch ( location ) {
diff --git a/cpukit/posix/src/mqueuesendsupp.c b/cpukit/posix/src/mqueuesendsupp.c
index b3f249638c..658f879989 100644
--- a/cpukit/posix/src/mqueuesendsupp.c
+++ b/cpukit/posix/src/mqueuesendsupp.c
@@ -41,8 +41,8 @@
int _POSIX_Message_queue_Send_support(
mqd_t mqdes,
const char *msg_ptr,
- unsigned32 msg_len,
- unsigned32 msg_prio,
+ uint32_t msg_len,
+ uint32_t msg_prio,
Watchdog_Interval timeout
)
{
diff --git a/cpukit/posix/src/mqueuetranslatereturncode.c b/cpukit/posix/src/mqueuetranslatereturncode.c
index 2f6a0647ab..95175afcc2 100644
--- a/cpukit/posix/src/mqueuetranslatereturncode.c
+++ b/cpukit/posix/src/mqueuetranslatereturncode.c
@@ -43,7 +43,7 @@
*/
int _POSIX_Message_queue_Translate_core_message_queue_return_code(
- unsigned32 the_message_queue_status
+ uint32_t the_message_queue_status
)
{
switch ( the_message_queue_status ) {
diff --git a/cpukit/posix/src/mutex.c b/cpukit/posix/src/mutex.c
index 89f9040814..fc0a680ea2 100644
--- a/cpukit/posix/src/mutex.c
+++ b/cpukit/posix/src/mutex.c
@@ -33,7 +33,7 @@
*/
void _POSIX_Mutex_Manager_initialization(
- unsigned32 maximum_mutexes
+ uint32_t maximum_mutexes
)
{
_Objects_Initialize_information(
diff --git a/cpukit/posix/src/posixintervaltotimespec.c b/cpukit/posix/src/posixintervaltotimespec.c
index 4443f4d308..a7238fef8d 100644
--- a/cpukit/posix/src/posixintervaltotimespec.c
+++ b/cpukit/posix/src/posixintervaltotimespec.c
@@ -28,7 +28,7 @@ void _POSIX_Interval_to_timespec(
struct timespec *time
)
{
- unsigned32 usecs;
+ uint32_t usecs;
usecs = ticks * _TOD_Microseconds_per_tick;
diff --git a/cpukit/posix/src/posixtimespecsubtract.c b/cpukit/posix/src/posixtimespecsubtract.c
index 205730468a..1239eb410f 100644
--- a/cpukit/posix/src/posixtimespecsubtract.c
+++ b/cpukit/posix/src/posixtimespecsubtract.c
@@ -31,7 +31,7 @@ void _POSIX_Timespec_subtract(
{
struct timespec start_struct = *the_start;
struct timespec *start = &start_struct;
- unsigned32 nsecs_per_sec = TOD_NANOSECONDS_PER_SECOND;
+ uint32_t nsecs_per_sec = TOD_NANOSECONDS_PER_SECOND;
if (end->tv_nsec < start->tv_nsec) {
int seconds = (start->tv_nsec - end->tv_nsec) / nsecs_per_sec + 1;
diff --git a/cpukit/posix/src/psignal.c b/cpukit/posix/src/psignal.c
index 63345ef7dc..a6e8968669 100644
--- a/cpukit/posix/src/psignal.c
+++ b/cpukit/posix/src/psignal.c
@@ -153,7 +153,7 @@ void _POSIX_signals_Manager_Initialization(
int maximum_queued_signals
)
{
- unsigned32 signo;
+ uint32_t signo;
/*
* Ensure we have the same number of vectors and default vector entries
diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c
index e91bcd4708..e4a780835c 100644
--- a/cpukit/posix/src/pthread.c
+++ b/cpukit/posix/src/pthread.c
@@ -61,8 +61,8 @@ void _POSIX_Threads_Sporadic_budget_TSR(
void *argument
)
{
- unsigned32 ticks;
- unsigned32 new_priority;
+ uint32_t ticks;
+ uint32_t new_priority;
Thread_Control *the_thread;
POSIX_API_Control *api;
@@ -102,7 +102,7 @@ void _POSIX_Threads_Sporadic_budget_callout(
)
{
POSIX_API_Control *api;
- unsigned32 new_priority;
+ uint32_t new_priority;
api = the_thread->API_Extensions[ THREAD_API_POSIX ];
@@ -257,8 +257,8 @@ User_extensions_routine _POSIX_Threads_Exitted_extension(
void _POSIX_Threads_Initialize_user_threads( void )
{
int status;
- unsigned32 index;
- unsigned32 maximum;
+ uint32_t index;
+ uint32_t maximum;
posix_initialization_threads_table *user_threads;
pthread_t thread_id;
pthread_attr_t attr;
@@ -335,8 +335,8 @@ User_extensions_Control _POSIX_Threads_User_extensions = {
*/
void _POSIX_Threads_Manager_initialization(
- unsigned32 maximum_pthreads,
- unsigned32 number_of_initialization_threads,
+ uint32_t maximum_pthreads,
+ uint32_t number_of_initialization_threads,
posix_initialization_threads_table *user_threads
)
diff --git a/cpukit/posix/src/ptimer1.c b/cpukit/posix/src/ptimer1.c
index ddb7d5c66a..4758b68113 100644
--- a/cpukit/posix/src/ptimer1.c
+++ b/cpukit/posix/src/ptimer1.c
@@ -672,11 +672,11 @@ int timer_gettime(
rtems_time_of_day current_time;
int timer_pos;
- unsigned32 hours;
- unsigned32 minutes;
- unsigned32 seconds;
- unsigned32 ticks;
- unsigned32 nanosec;
+ uint32_t hours;
+ uint32_t minutes;
+ uint32_t seconds;
+ uint32_t ticks;
+ uint32_t nanosec;
/* Reads the current time */
diff --git a/cpukit/posix/src/semaphore.c b/cpukit/posix/src/semaphore.c
index 1fdca2d4ab..9f06e01c1b 100644
--- a/cpukit/posix/src/semaphore.c
+++ b/cpukit/posix/src/semaphore.c
@@ -33,7 +33,7 @@
*/
void _POSIX_Semaphore_Manager_initialization(
- unsigned32 maximum_semaphores
+ uint32_t maximum_semaphores
)
{
_Objects_Initialize_information(
diff --git a/cpukit/posix/src/sysconf.c b/cpukit/posix/src/sysconf.c
index 2d11473c5c..4a8add9e35 100644
--- a/cpukit/posix/src/sysconf.c
+++ b/cpukit/posix/src/sysconf.c
@@ -28,7 +28,7 @@ long sysconf(
return _TOD_Ticks_per_second;
case _SC_OPEN_MAX: {
- extern unsigned32 rtems_libio_number_iops;
+ extern uint32_t rtems_libio_number_iops;
return rtems_libio_number_iops;
}