From ac3739a9155bb1be5f2477da3d4aad7efcfcc012 Mon Sep 17 00:00:00 2001 From: pcarana Date: Thu, 31 Oct 2019 13:55:20 -0600 Subject: [PATCH] Remove header, avoid cpp warnings during compilation --- src/Makefile.am | 2 +- src/log.h | 1 - src/rsync/rsync.c | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) 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 -- 2.47.2