Changeset e156c633 in rtems


Ignore:
Timestamp:
Nov 3, 2005, 7:14:54 PM (14 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
d45540a
Parents:
cc9073d
Message:

2005-11-03 straumanatslacdotstanforddotedu

  • shared/bootloader/misc.c, shared/console/polled_io.c,

shared/residual/residual.c: silenced compiler warnings (type cast &

renaming puts->my_puts)

Location:
c/src/lib/libbsp/powerpc
Files:
4 edited

Legend:

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

    rcc9073d re156c633  
     12005-11-03      straumanatslacdotstanforddotedu
     2
     3        * shared/bootloader/misc.c, shared/console/polled_io.c,
     4    shared/residual/residual.c: silenced compiler warnings (type cast &
     5        renaming puts->my_puts)
     6
    172005-11-02      straumanatslacdotstanford.edu
    28
  • c/src/lib/libbsp/powerpc/shared/bootloader/misc.c

    rcc9073d re156c633  
    425425static int same_DevID(unsigned short vendor,
    426426               unsigned short Number,
    427                char * str)
     427               unsigned char * str)
    428428{
    429429        static unsigned const char hexdigit[]="0123456789ABCDEF";
    430         if (strlen(str)!=7) return 0;
     430        if (strlen((char*)str)!=7) return 0;
    431431        if ( ( ((vendor>>10)&0x1f)+'A'-1 == str[0])  &&
    432432             ( ((vendor>>5)&0x1f)+'A'-1 == str[1])   &&
  • c/src/lib/libbsp/powerpc/shared/console/polled_io.c

    rcc9073d re156c633  
    525525 */
    526526static
    527 void puts(const u_char *s)
     527void my_puts(const u_char *s)
    528528{
    529529        char c;
     
    544544        }
    545545        for(p=console_global_data.log; p; p=next) {
    546                 puts(p->data);
     546                my_puts(p->data);
    547547                next = p->next;
    548548                pfree(p);
     
    901901        i = k_vsprintf(buf, fmt, args);
    902902        va_end(args);
    903         puts(buf);
     903        my_puts((u_char*)buf);
    904904        return  i;
    905905}
  • c/src/lib/libbsp/powerpc/shared/residual/residual.c

    rcc9073d re156c633  
    2222static int same_DevID(unsigned short vendor,
    2323               unsigned short Number,
    24                char * str)
     24               unsigned char * str)
    2525{
    2626        static unsigned const char hexdigit[]="0123456789ABCDEF";
    27         if (strlen(str)!=7) return 0;
     27        if (strlen((char*)str)!=7) return 0;
    2828        if ( ( ((vendor>>10)&0x1f)+'A'-1 == str[0])  &&
    2929             ( ((vendor>>5)&0x1f)+'A'-1 == str[1])   &&
Note: See TracChangeset for help on using the changeset viewer.