j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: afaerber Date: Sun Feb 13 00:02:18 2011 New Revision: 1026 URL: http://tracker.coreboot.org/trac/openbios/changeset/1026
Log: PRI* macros need inttypes.h
Ever since introducing PRI* macros for FMT_plx, we risked using them during bootstrap. According to POSIX.1-2008 the PRI* macros are defined in inttypes.h, which in turn includes stdint.h.
Signed-off-by: Andreas Färber andreas.faerber@web.de
Modified: trunk/openbios-devel/include/arch/amd64/types.h trunk/openbios-devel/include/arch/ia64/types.h trunk/openbios-devel/include/arch/sparc32/types.h trunk/openbios-devel/include/arch/sparc64/types.h trunk/openbios-devel/include/arch/x86/types.h
Modified: trunk/openbios-devel/include/arch/amd64/types.h ============================================================================== --- trunk/openbios-devel/include/arch/amd64/types.h Sat Feb 12 17:28:06 2011 (r1025) +++ trunk/openbios-devel/include/arch/amd64/types.h Sun Feb 13 00:02:18 2011 (r1026) @@ -11,7 +11,7 @@ #ifndef __TYPES_H #define __TYPES_H
-#include <stdint.h> +#include <inttypes.h>
/* endianess */ #include "autoconf.h"
Modified: trunk/openbios-devel/include/arch/ia64/types.h ============================================================================== --- trunk/openbios-devel/include/arch/ia64/types.h Sat Feb 12 17:28:06 2011 (r1025) +++ trunk/openbios-devel/include/arch/ia64/types.h Sun Feb 13 00:02:18 2011 (r1026) @@ -11,7 +11,7 @@ #ifndef __TYPES_H #define __TYPES_H
-#include <stdint.h> +#include <inttypes.h>
/* endianess */
Modified: trunk/openbios-devel/include/arch/sparc32/types.h ============================================================================== --- trunk/openbios-devel/include/arch/sparc32/types.h Sat Feb 12 17:28:06 2011 (r1025) +++ trunk/openbios-devel/include/arch/sparc32/types.h Sun Feb 13 00:02:18 2011 (r1026) @@ -12,7 +12,7 @@ #include "mconfig.h"
#ifdef BOOTSTRAP -#include <stdint.h> +#include <inttypes.h> #else typedef unsigned char uint8_t; typedef unsigned short uint16_t;
Modified: trunk/openbios-devel/include/arch/sparc64/types.h ============================================================================== --- trunk/openbios-devel/include/arch/sparc64/types.h Sat Feb 12 17:28:06 2011 (r1025) +++ trunk/openbios-devel/include/arch/sparc64/types.h Sun Feb 13 00:02:18 2011 (r1026) @@ -12,7 +12,7 @@ #include "mconfig.h"
#ifdef BOOTSTRAP -#include <stdint.h> +#include <inttypes.h> #else typedef unsigned char uint8_t; typedef unsigned short uint16_t;
Modified: trunk/openbios-devel/include/arch/x86/types.h ============================================================================== --- trunk/openbios-devel/include/arch/x86/types.h Sat Feb 12 17:28:06 2011 (r1025) +++ trunk/openbios-devel/include/arch/x86/types.h Sun Feb 13 00:02:18 2011 (r1026) @@ -11,7 +11,7 @@ #ifndef __TYPES_H #define __TYPES_H
-#include <stdint.h> +#include <inttypes.h>
/* endianess */