From 489aa752d7276de8fd972d9554e0be938be64b4b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Fri, 9 Apr 2021 11:36:57 +0200 Subject: [PATCH] firmware-utils: zyimage: drop POSIX SOURCE defines MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- tools/firmware-utils/src/zyimage.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/firmware-utils/src/zyimage.c b/tools/firmware-utils/src/zyimage.c index 6aacf2ff1bd..4f7cfd6f433 100644 --- a/tools/firmware-utils/src/zyimage.c +++ b/tools/firmware-utils/src/zyimage.c @@ -7,8 +7,6 @@ * */ -#define _POSIX_SOURCE -#define _POSIX_C_SOURCE 199309L /* getopt */ #include #include #include -- 2.30.2