summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/stddef.h
diff options
context:
space:
mode:
authorThomas Heijligen <src@posteo.de>2022-11-29 19:53:31 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-08-24 13:35:02 +0000
commit303a895d776acc2bf978a7dc6021eaeece897aae (patch)
tree259ad8929f0c339dc59758effdc695e968aabc2e /payloads/libpayload/include/stddef.h
parent711f84d177db1f05054e5524f2492e9881a4eab6 (diff)
libpayload: Outsource delay function into own header
For libflashrom we need the delay functions but when including the whole libpayload.h it has conflicting symbols. Change-Id: I6e4a669b8ba25836fb870d74c200985c1bfdb387 Signed-off-by: Thomas Heijligen <src@posteo.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70139 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'payloads/libpayload/include/stddef.h')
-rw-r--r--payloads/libpayload/include/stddef.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/payloads/libpayload/include/stddef.h b/payloads/libpayload/include/stddef.h
index 9003ac9550..81aaa17cb8 100644
--- a/payloads/libpayload/include/stddef.h
+++ b/payloads/libpayload/include/stddef.h
@@ -26,11 +26,4 @@ typedef __SIZE_TYPE__ size_t;
typedef __SIZE_TYPE__ ssize_t;
#undef unsigned
-#define NSECS_PER_SEC 1000000000
-#define USECS_PER_SEC 1000000
-#define MSECS_PER_SEC 1000
-#define NSECS_PER_MSEC (NSECS_PER_SEC / MSECS_PER_SEC)
-#define NSECS_PER_USEC (NSECS_PER_SEC / USECS_PER_SEC)
-#define USECS_PER_MSEC (USECS_PER_SEC / MSECS_PER_SEC)
-
#endif