firmware-utils: zyimage: fix compiler warnings/errors
authorPetr Štetiar <ynezz@true.cz>
Sat, 20 Jul 2019 11:45:45 +0000 (13:45 +0200)
committerPetr Štetiar <ynezz@true.cz>
Tue, 23 Jul 2019 20:07:22 +0000 (22:07 +0200)
commitf46f8149ea3eb693b24554db7462285d987daad6
treef93010afc4dd9eaec7955e9406d9d810df708e3a
parenta57cfecd28e76c6e6c71af04b1aa41e95298451a
firmware-utils: zyimage: fix compiler warnings/errors

zyimage.c:10: error: "_POSIX_SOURCE" redefined [-Werror]
zyimage.c:11: error: "_POSIX_C_SOURCE" redefined [-Werror]
zyimage.c:132:5: error: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Werror=unused-result]

Signed-off-by: Petr Štetiar <ynezz@true.cz>
tools/firmware-utils/src/zyimage.c