forked from Imagelibrary/rtems
2004-10-28 Ralf Corsepius <ralf_corsepius@rtems.org>
* 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".
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2004-10-28 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
* 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".
|
||||
|
||||
2004-10-28 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
* libcsupport/include/rtems/_inttypes.h: Remove.
|
||||
|
||||
@@ -14,6 +14,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include <sys/_inttypes.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/sptables.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#include <rtems/seterr.h>
|
||||
|
||||
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user