coreboot-kgpe-d16/payloads/libpayload/libc
Mathias Krause 67997d330d libpayload: minor cleanups
Apply some const correctness to const/non-const strings in libc and
libpci (what an ugly cast that was).

Remove duplicated NULL test in printf_putstr(), already done in
print_string() - reduces size of libpayload by a few bytes.

Change-Id: I13f479df13e39d79cab291e9d99d153e1ef43eae
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Reviewed-on: http://review.coreboot.org/849
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marcj303@gmail.com>
2012-04-04 00:40:31 +02:00
..
args.c Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
console.c don't initialize "in" as it is initialized again one line below. 2009-04-29 19:09:19 +00:00
ctype.c fix typo in ctype.c 2008-08-19 16:53:47 +00:00
exec.c [PATCH] libpayload: rename config.h to libpayload-config.h 2008-11-24 17:54:46 +00:00
getopt_long.c Reduce warnings/errors in libpayload when using picky compiler options 2011-06-30 20:41:23 +02:00
ipchecksum.c trivial fix: ipchksum takes an unspecified input blob, not explicitly a number of shorts. 2008-08-16 15:16:36 +00:00
lar.c Catch various cases in libpayload where malloc() or memalign() return NULL 2009-07-31 11:39:55 +00:00
lib.c libpayload: Provide dummy getenv() 2011-07-20 10:02:19 +02:00
Makefile.inc libpayload: Add liblzma, libcbfs 2011-08-04 08:11:21 +02:00
malloc.c Fix libpayload alloc() size and gcc pointer optimization problems. 2012-03-21 21:03:24 +01:00
memory.c Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
printf.c libpayload: minor cleanups 2012-04-04 00:40:31 +02:00
qsort.c libpayload: remove trailing whitespace and run dos2unix 2011-11-01 19:08:23 +01:00
rand.c Add rand/rand_r/srand functions for generating pseudo-random bytes. 2008-04-07 23:33:50 +00:00
readline.c Catch various cases in libpayload where malloc() or memalign() return NULL 2009-07-31 11:39:55 +00:00
string.c libpayload: Some more compatibility (for flashrom) 2011-08-17 16:26:20 +02:00
strings.c Reduce warnings/errors in libpayload when using picky compiler options 2011-06-30 20:41:23 +02:00
strlcpy.c libpayload: Implement strlcpy 2011-07-07 22:29:35 +02:00
sysinfo.c Reduce warnings/errors in libpayload when using picky compiler options 2011-06-30 20:41:23 +02:00
time.c This change adds PPC support to libpayload, and hooks it up in the build 2009-05-21 10:02:52 +00:00