Changeset 0f9ff459 in rtems


Ignore:
Timestamp:
Oct 29, 2004, 10:34:38 AM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
9929e2d
Parents:
ec75ddc
Message:

2004-10-28 Ralf Corsepius <ralf_corsepius@…>

  • libcsupport/include/inttypes.h: #include <sys/_inttypes.h>
  • libcsupport/src/utsname.c: Don't include sptables.h. Include <inttypes.h>. Use PRId32 instead of "%d".
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rec75ddc r0f9ff459  
     12004-10-28      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * libcsupport/include/inttypes.h: #include <sys/_inttypes.h>
     4        * libcsupport/src/utsname.c: Don't include sptables.h.
     5        Include <inttypes.h>. Use PRId32 instead of "%d".
     6
    172004-10-28      Ralf Corsepius <ralf_corsepius@rtems.org>
    28
  • cpukit/libcsupport/include/inttypes.h

    rec75ddc r0f9ff459  
    1515
    1616#include <stdint.h>
     17#include <sys/_inttypes.h>
    1718
    1819#ifdef __cplusplus
  • cpukit/libcsupport/src/utsname.c

    rec75ddc r0f9ff459  
    1616#include <rtems/system.h>
    1717#include <rtems/score/object.h>
    18 #include <rtems/sptables.h>
     18#include <inttypes.h>
    1919
    2020#include <rtems/seterr.h>
     
    4242  strcpy( name->sysname, "RTEMS" );
    4343
    44   sprintf( name->nodename, "Node %d", _Objects_Local_node );
     44  sprintf( name->nodename, "Node %" PRId32, _Objects_Local_node );
    4545
    4646  strcpy( name->release, RTEMS_VERSION );
Note: See TracChangeset for help on using the changeset viewer.