From 5c5d43860252d4eace20e26fbc05a7bc85281bdd Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 11 Dec 2007 23:42:15 +0000 Subject: [PATCH] 2007-12-11 Joel Sherrill * rtems/score/cpu.h: Style. --- cpukit/score/cpu/no_cpu/ChangeLog | 4 ++++ cpukit/score/cpu/no_cpu/rtems/score/cpu.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cpukit/score/cpu/no_cpu/ChangeLog b/cpukit/score/cpu/no_cpu/ChangeLog index ffae8d1abf..0e902c3034 100644 --- a/cpukit/score/cpu/no_cpu/ChangeLog +++ b/cpukit/score/cpu/no_cpu/ChangeLog @@ -1,3 +1,7 @@ +2007-12-11 Joel Sherrill + + * rtems/score/cpu.h: Style. + 2007-12-10 Joel Sherrill * rtems/score/cpu.h: Fix Doxygen. diff --git a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h index fe77558862..97072b4b62 100644 --- a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h +++ b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h @@ -1223,7 +1223,7 @@ static inline uint32_t CPU_swap_u32( uint32_t value ) { - uint32_t byte1, byte2, byte3, byte4, swapped; + uint32_t byte1, byte2, byte3, byte4, swapped; byte4 = (value >> 24) & 0xff; byte3 = (value >> 16) & 0xff; @@ -1231,7 +1231,7 @@ static inline uint32_t CPU_swap_u32( byte1 = value & 0xff; swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4; - return( swapped ); + return swapped; } /**