From 0f9ff459574cf5fb287fe6d71cb3bbe26e0bc626 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 29 Oct 2004 10:34:38 +0000 Subject: 2004-10-28 Ralf Corsepius * libcsupport/include/inttypes.h: #include * libcsupport/src/utsname.c: Don't include sptables.h. Include . Use PRId32 instead of "%d". --- cpukit/ChangeLog | 6 ++++++ cpukit/libcsupport/include/inttypes.h | 1 + cpukit/libcsupport/src/utsname.c | 4 ++-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 358576a2be..2583aa1733 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2004-10-28 Ralf Corsepius + + * libcsupport/include/inttypes.h: #include + * libcsupport/src/utsname.c: Don't include sptables.h. + Include . Use PRId32 instead of "%d". + 2004-10-28 Ralf Corsepius * libcsupport/include/rtems/_inttypes.h: Remove. diff --git a/cpukit/libcsupport/include/inttypes.h b/cpukit/libcsupport/include/inttypes.h index dad6c67c7d..87e1798f17 100644 --- a/cpukit/libcsupport/include/inttypes.h +++ b/cpukit/libcsupport/include/inttypes.h @@ -14,6 +14,7 @@ extern "C" { #endif #include +#include #ifdef __cplusplus } diff --git a/cpukit/libcsupport/src/utsname.c b/cpukit/libcsupport/src/utsname.c index cc114434bf..6ba6c196c0 100644 --- a/cpukit/libcsupport/src/utsname.c +++ b/cpukit/libcsupport/src/utsname.c @@ -15,7 +15,7 @@ #include #include -#include +#include #include @@ -41,7 +41,7 @@ int uname( strcpy( name->sysname, "RTEMS" ); - sprintf( name->nodename, "Node %d", _Objects_Local_node ); + sprintf( name->nodename, "Node %" PRId32, _Objects_Local_node ); strcpy( name->release, RTEMS_VERSION ); -- cgit v1.2.3