summaryrefslogtreecommitdiff
path: root/src/lib/memchr.c
diff options
context:
space:
mode:
authorGabe Black <gabeblack@chromium.org>2013-07-01 04:57:37 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2013-08-15 20:10:39 +0200
commit0c605a5a6cf0b5a7bdaa6068168581dc8fb24d22 (patch)
tree3c975a327806f6a2f1fdeea66708cc5c74b6aa20 /src/lib/memchr.c
parentf31eacca62bb9fda9ed05be941a336163f1ce146 (diff)
CBFS: Change the signature of cbfs_decompress.
Instead of returning 0 on success and -1 on error, return the decompressed size of the data on success and 0 on error. The decompressed size is useful information to have that was being thrown away in that function. Change-Id: If787201aa61456b1e47feaf3a0071c753fa299a3 Signed-off-by: Gabe Black <gabeblack@chromium.org> Reviewed-on: http://review.coreboot.org/3578 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/lib/memchr.c')
0 files changed, 0 insertions, 0 deletions