summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2011-05-27 15:31:52 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2011-07-07 22:29:53 +0200
commitc3c827cf864b10d5086177602f0157b9596bc380 (patch)
tree41144239b4eac513147918cbb24cf22ed6c68411 /payloads/libpayload/include
parent163e220c5d9a8f52bd4f195c9dc456233fa23d11 (diff)
downloadcoreboot-c3c827cf864b10d5086177602f0157b9596bc380.tar.xz
libpayload: Provide atol(), malloc.h
Change-Id: I807ca061115146a6851eef481eb881b279fba8e1 Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Reviewed-on: http://review.coreboot.org/86 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r--payloads/libpayload/include/malloc.h1
-rw-r--r--payloads/libpayload/include/stdlib.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/payloads/libpayload/include/malloc.h b/payloads/libpayload/include/malloc.h
new file mode 100644
index 0000000000..c8b49f26d1
--- /dev/null
+++ b/payloads/libpayload/include/malloc.h
@@ -0,0 +1 @@
+#include <stdlib.h>
diff --git a/payloads/libpayload/include/stdlib.h b/payloads/libpayload/include/stdlib.h
index a106607b4b..6fb73ad98c 100644
--- a/payloads/libpayload/include/stdlib.h
+++ b/payloads/libpayload/include/stdlib.h
@@ -120,6 +120,7 @@ void *memalign(size_t align, size_t size);
*/
long int strtol(const char *s, char **nptr, int base);
unsigned long int strtoul(const char *s, char **nptr, int base);
+long atol(const char *nptr);
/** @} */