Changeset 24a7692 in rtems


Ignore:
Timestamp:
Mar 5, 2004, 6:04:00 PM (16 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
d2ae273
Parents:
cb2f320
Message:

2004-03-05 Joel Sherrill <joel@…>

  • score/macros/rtems/score/chain.inl, score/src/objectidtoname.c: Add cast to avoid type punning warning in gcc 3.3.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rcb2f320 r24a7692  
    112004-03-05      Joel Sherrill <joel@OARcorp.com>
    22
    3         * libblock/src/bdbuf.c, libblock/src/ramdisk.c,
    4         libcsupport/src/newlibc.c, libcsupport/src/sync.c,
    5         libmisc/cpuuse/cpuuse.c, libmisc/monitor/mon-symbols.c,
    6         libmisc/shell/cmds.c, libmisc/shell/shell.c,
    7         libnetworking/kern/kern_sysctl.c, libnetworking/lib/ftpfs.c,
    8         libnetworking/lib/tftpDriver.c, libnetworking/libc/gethostbydns.c,
    9         libnetworking/libc/gethostbyht.c, libnetworking/libc/gethostnamadr.c,
    10         libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetnamadr.c,
    11         libnetworking/libc/inet_addr.c, libnetworking/libc/linkaddr.c,
    12         libnetworking/libc/map_v4v6.c, libnetworking/libc/ns_print.c,
    13         libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
    14         libnetworking/libc/rcmd.c, libnetworking/libc/res_debug.c,
    15         libnetworking/libc/res_mkupdate.c, libnetworking/libc/res_query.c,
    16         libnetworking/libc/res_send.c, libnetworking/libc/res_update.c,
    17         libnetworking/net/radix.c, libnetworking/rtems/mkrootfs.c,
    18         librpc/src/rpc/clnt_perror.c, librpc/src/rpc/svc.c,
    19         score/macros/rtems/score/chain.inl, score/src/objectidtoname.c: Too
    20         much was accidentally committed -- revert.
     3        * score/macros/rtems/score/chain.inl, score/src/objectidtoname.c:
     4        Add cast to avoid type punning warning in gcc 3.3.
     52004-03-05      Joel Sherrill <joel@OARcorp.com>
     6
     7        *
    218
    2292004-03-05      Joel Sherrill <joel@OARcorp.com>
  • cpukit/score/macros/rtems/score/chain.inl

    rcb2f320 r24a7692  
    4747
    4848#define _Chain_Head( _the_chain ) \
    49    ((Chain_Node *) (_the_chain))
     49   ((Chain_Node *) ((void *)(_the_chain)))
    5050
    5151/*PAGE
     
    5555
    5656#define _Chain_Tail( _the_chain ) \
    57    ((Chain_Node *) &(_the_chain)->permanent_null)
     57   ((Chain_Node *) ((void *)&(_the_chain)->permanent_null))
    5858
    5959/*PAGE
  • cpukit/score/src/objectidtoname.c

    rcb2f320 r24a7692  
    4141  Objects_Information *information;
    4242  Objects_Control     *the_object = (Objects_Control *) 0;
     43  Objects_Locations    ignored_location;
    4344 
    4445  if ( !name )
     
    5859    return OBJECTS_INVALID_ID;
    5960
    60   the_object = _Objects_Get( information, id, OBJECTS_SEARCH_LOCAL_NODE );
     61  the_object = _Objects_Get( information, id, &ignored_location );
    6162  if (!the_object)
    6263    return OBJECTS_INVALID_ID;
Note: See TracChangeset for help on using the changeset viewer.