aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2021-04-09 11:36:57 +0200
committerRafał Miłecki <rafal@milecki.pl>2021-04-13 13:18:17 +0200
commit489aa752d7276de8fd972d9554e0be938be64b4b (patch)
treeb022d78c1f7bb91a51cd8830b861d5b054a3e896
parente6d66375cbbb54e0e82a67030e385a5486273766 (diff)
downloadupstream-489aa752d7276de8fd972d9554e0be938be64b4b.tar.gz
upstream-489aa752d7276de8fd972d9554e0be938be64b4b.tar.bz2
upstream-489aa752d7276de8fd972d9554e0be938be64b4b.zip
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 <rafal@milecki.pl>
-rw-r--r--tools/firmware-utils/src/zyimage.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/firmware-utils/src/zyimage.c b/tools/firmware-utils/src/zyimage.c
index 6aacf2ff1b..4f7cfd6f43 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 <stdio.h>
#include <stdlib.h>
#include <sys/types.h>