openbios/libc
Benjamin Herrenschmidt 14be7d187a libc: Fix build on recent gcc
This fixes this warning (which escalates as an error):

roms/openbios/libc/string.c: In function ‘strdup’:
roms/openbios/libc/string.c:353:4: error: nonnull argument ‘str’ compared to NULL [-Werror=nonnull-compare]
  if( !str )
    ^
cc1: all warnings being treated as errors
rules.mak:122: recipe for target 'target/libc		printf("stdout is %s\n", stdout->name);

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
2016-08-26 07:55:23 +01:00
..
build.xml initial import of openbios--main--1.0--patch-26 2006-04-26 15:08:19 +00:00
ctype.c Move the basic OpenBIOS configuration header files from include/openbios to include/. 2010-03-14 17:19:58 +00:00
diskio.c Don't assume that pointer and cell size are identical, part 1 2010-10-25 20:48:45 +00:00
extra.c Don't assume that pointer and cell size are identical, part 1 2010-10-25 20:48:45 +00:00
misc.c Move the basic OpenBIOS configuration header files from include/openbios to include/. 2010-03-14 17:19:58 +00:00
string.c libc: Fix build on recent gcc 2016-08-26 07:55:23 +01:00
vsprintf.c Move the basic OpenBIOS configuration header files from include/openbios to include/. 2010-03-14 17:19:58 +00:00