summaryrefslogtreecommitdiff
path: root/payloads/libpayload/libc
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2011-07-12 15:50:54 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2011-07-20 10:02:19 +0200
commitdd3e690220fd762c8ec603de673fcaea002f8a3d (patch)
tree18d2606019ce90bc320702ba6cd491f38aac54a8 /payloads/libpayload/libc
parent4b508341bcf11687be98d20f8178b5cc542a0842 (diff)
libpayload: Provide dummy getenv()
Change-Id: I419fcb16e0b10dee9195072e0e6befa6c9e61a69 Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Reviewed-on: http://review.coreboot.org/105 Tested-by: build bot (Jenkins) Reviewed-by: Frank Vibrans III <frank.vibrans@amd.com> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/libpayload/libc')
-rw-r--r--payloads/libpayload/libc/lib.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/payloads/libpayload/libc/lib.c b/payloads/libpayload/libc/lib.c
index c8539cb59f..616a7c6ca7 100644
--- a/payloads/libpayload/libc/lib.c
+++ b/payloads/libpayload/libc/lib.c
@@ -120,3 +120,9 @@ void exit(int status)
}
int errno;
+
+char *getenv(const char *name)
+{
+ return NULL;
+}
+