From: Rafał Miłecki Date: Fri, 9 Apr 2021 09:36:57 +0000 (+0200) Subject: firmware-utils: zyimage: drop POSIX SOURCE defines X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=6bcc768a81aaf7d3b93ecdc355118bd94e0aa3b7;p=project%2Ffirmware-utils.git firmware-utils: zyimage: drop POSIX SOURCE defines This fixes: src/zyimage.c:10:0: warning: "_POSIX_SOURCE" redefined src/zyimage.c:11:0: warning: "_POSIX_C_SOURCE" redefined This change has been tested on Linux with -Wextra and on Mac OS. Signed-off-by: Rafał Miłecki --- diff --git a/src/zyimage.c b/src/zyimage.c index 6aacf2f..4f7cfd6 100644 --- a/src/zyimage.c +++ b/src/zyimage.c @@ -7,8 +7,6 @@ * */ -#define _POSIX_SOURCE -#define _POSIX_C_SOURCE 199309L /* getopt */ #include #include #include