From da1ef02e904536446f0fb06f024ac1faede39d10 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 7 Dec 2012 17:24:06 -0800 Subject: [PATCH] stddef.h: move to generic code stddef.h should be fairly generic across all platforms we'd want to support, so let's move it to generic code. Change-Id: I580c9c9b54f62fadd9ea97115933e16ea0b13ada Signed-off-by: David Hendricks Signed-off-by: Stefan Reinauer Signed-off-by: Ronald G. Minnich Reviewed-on: http://review.coreboot.org/2007 Tested-by: build bot (Jenkins) --- src/{arch/x86 => }/include/stddef.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename src/{arch/x86 => }/include/stddef.h (83%) diff --git a/src/arch/x86/include/stddef.h b/src/include/stddef.h similarity index 83% rename from src/arch/x86/include/stddef.h rename to src/include/stddef.h index fc89de54de..888d497809 100644 --- a/src/arch/x86/include/stddef.h +++ b/src/include/stddef.h @@ -1,5 +1,5 @@ -#ifndef I386_STDDEF_H -#define I386_STDDEF_H +#ifndef STDDEF_H +#define STDDEF_H typedef long ptrdiff_t; #ifndef __SIZE_TYPE__ @@ -21,4 +21,4 @@ typedef unsigned int wint_t; #define ROMSTAGE_CONST #endif -#endif /* I386_STDDEF_H */ +#endif /* STDDEF_H */