summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2012-12-07 17:24:06 -0800
committerRonald G. Minnich <rminnich@gmail.com>2012-12-08 06:54:16 +0100
commitda1ef02e904536446f0fb06f024ac1faede39d10 (patch)
tree0067b1ff7f7cb249b396c9b0e75dd3e1ad83811b
parent52db0b984523047da19ca3b41558b9dbf45abad7 (diff)
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 <dhendrix@chromium.org> Signed-off-by: Stefan Reinauer <reinauer@google.com> Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-on: http://review.coreboot.org/2007 Tested-by: build bot (Jenkins)
-rw-r--r--src/include/stddef.h (renamed from src/arch/x86/include/stddef.h)6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/x86/include/stddef.h b/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 */