From: pcarana Date: Thu, 31 Oct 2019 19:55:20 +0000 (-0600) Subject: Remove header, avoid cpp warnings during compilation X-Git-Tag: v1.2.0~61 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=ac3739a9155bb1be5f2477da3d4aad7efcfcc012;p=thirdparty%2FFORT-validator.git Remove header, avoid cpp warnings during compilation --- diff --git a/src/Makefile.am b/src/Makefile.am index 980aa8be..59858ea3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -103,7 +103,7 @@ fort_SOURCES += slurm/slurm_parser.c slurm/slurm_parser.h include asn1/asn1c/Makefile.include fort_SOURCES += $(ASN_MODULE_SRCS) $(ASN_MODULE_HDRS) -fort_CFLAGS = -Wall +fort_CFLAGS = -Wall -Wno-cpp # Feel free to temporarily remove this one if you're not using gcc 7.3.0. #fort_CFLAGS += $(GCC_WARNS) fort_CFLAGS += -std=gnu11 -O2 -g $(FORT_FLAGS) diff --git a/src/log.h b/src/log.h index 75c5b675..4aa0dc5e 100644 --- a/src/log.h +++ b/src/log.h @@ -1,7 +1,6 @@ #ifndef SRC_LOG_H_ #define SRC_LOG_H_ -#include #include #include "incidence/incidence.h" diff --git a/src/rsync/rsync.c b/src/rsync/rsync.c index 80bafea8..6326bb79 100644 --- a/src/rsync/rsync.c +++ b/src/rsync/rsync.c @@ -4,7 +4,6 @@ #include #include #include /* SIGINT, SIGQUIT, etc */ -#include #include #include #include