diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2021-04-09 11:36:57 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2021-04-13 13:18:17 +0200 |
commit | 489aa752d7276de8fd972d9554e0be938be64b4b (patch) | |
tree | b022d78c1f7bb91a51cd8830b861d5b054a3e896 /tools/firmware-utils/src | |
parent | e6d66375cbbb54e0e82a67030e385a5486273766 (diff) | |
download | upstream-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>
Diffstat (limited to 'tools/firmware-utils/src')
-rw-r--r-- | tools/firmware-utils/src/zyimage.c | 2 |
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> |