Changeset 30337d2 in rtems


Ignore:
Timestamp:
Apr 3, 2002, 2:22:48 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
47f7dc5
Parents:
20603d1
Message:

2002-02-04 Ralf Corsepius <corsepiu@…>

  • shared/include/byteorder.h: Use unsigned instead of unsigned (GCC-3.0.x compatibility).
Location:
c/src/lib/libcpu/powerpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/ChangeLog

    r20603d1 r30337d2  
     12002-02-04      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * shared/include/byteorder.h: Use unsigned instead of __unsigned
     4        (GCC-3.0.x compatibility).
     5       
    162002-03-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • c/src/lib/libcpu/powerpc/shared/include/byteorder.h

    r20603d1 r30337d2  
    5656#  define __arch_swab32(x) ld_le32(&x)
    5757#else
    58 static __inline__ __const__ __unsigned short ___arch__swab16(__unsigned short value)
     58static __inline__ __const__ unsigned short ___arch__swab16(unsigned short value)
    5959{
    60         __unsigned int tmp;
     60        unsigned int tmp;
    6161
    6262        __asm__("rlwimi %0,%0,8,0xff0000"
     
    6666}
    6767
    68 static __inline__ __const__ __unsigned int ___arch__swab32(__unsigned int value)
     68static __inline__ __const__ unsigned int ___arch__swab32(unsigned int value)
    6969{
    70         __unsigned int result;
     70        unsigned int result;
    7171
    7272        __asm__("rotlwi %0,%1,24\n\t"
Note: See TracChangeset for help on using the changeset viewer.