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>
This commit is contained in:
Patrick Georgi 2011-07-12 15:50:54 +02:00 committed by Patrick Georgi
parent 4b508341bc
commit dd3e690220
2 changed files with 7 additions and 1 deletions

View File

@ -143,5 +143,5 @@ void exit(int status) __attribute__ ((noreturn));
/** @} */
void qsort(void *aa, size_t n, size_t es, int (*cmp)(const void *, const void *));
char *getenv(const char*);
#endif

View File

@ -120,3 +120,9 @@ void exit(int status)
}
int errno;
char *getenv(const char *name)
{
return NULL;
}