From ec8973ed4840615a0d4f27df601b72400bd450f3 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 24 Jan 2005 05:43:40 +0000 Subject: 2005-01-24 Ralf Corsepius * rtems/score/cpu.h: *_swap_u32( uint32_t ). --- cpukit/score/cpu/unix/ChangeLog | 4 ++++ cpukit/score/cpu/unix/rtems/score/cpu.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'cpukit/score/cpu/unix') diff --git a/cpukit/score/cpu/unix/ChangeLog b/cpukit/score/cpu/unix/ChangeLog index f922bcd9b0..bd36ab3b41 100644 --- a/cpukit/score/cpu/unix/ChangeLog +++ b/cpukit/score/cpu/unix/ChangeLog @@ -1,3 +1,7 @@ +2005-01-24 Ralf Corsepius + + * rtems/score/cpu.h: *_swap_u32( uint32_t ). + 2005-01-24 Ralf Corsepius * rtems/score/types.h: #include . diff --git a/cpukit/score/cpu/unix/rtems/score/cpu.h b/cpukit/score/cpu/unix/rtems/score/cpu.h index 37d4af4436..cabd2979ca 100644 --- a/cpukit/score/cpu/unix/rtems/score/cpu.h +++ b/cpukit/score/cpu/unix/rtems/score/cpu.h @@ -1015,8 +1015,8 @@ void _CPU_Fatal_error( * will be fetched incorrectly. */ -static inline unsigned int CPU_swap_u32( - unsigned int value +static inline uint32_t CPU_swap_u32( + uint32_t value ) { uint32_t byte1, byte2, byte3, byte4, swapped; -- cgit v1.2.3