From b05118da9ccade7e6302fc241e9568774b6ca96b Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Tue, 16 Feb 2016 23:27:21 +0100 Subject: [PATCH] maint: avoid syntax-check failures 'make syntax-check' failed with: locate/word_io.h: maint.mk: the above files include assert.h but don't use it maint.mk:479: recipe for target 'sc_prohibit_assert_without_use' failed ... lib/bugreports.h: maint.mk: empty line(s) or no newline at EOF maint.mk:929: recipe for target 'sc_prohibit_empty_lines_at_EOF' failed * locate/word_io.h (#include ): Remove superfluous inclusion of . * lib/bugreports.h: Remove stray empty line at EOF. --- lib/bugreports.h | 3 --- locate/word_io.c | 1 - 2 files changed, 4 deletions(-) diff --git a/lib/bugreports.h b/lib/bugreports.h index bec15449..9c72accf 100644 --- a/lib/bugreports.h +++ b/lib/bugreports.h @@ -23,7 +23,4 @@ /* Interpreetation of the return code is as for fprintf. */ int explain_how_to_report_bugs (FILE *f, const char *program_name); - #endif - - diff --git a/locate/word_io.c b/locate/word_io.c index 4b64b488..7c943c16 100644 --- a/locate/word_io.c +++ b/locate/word_io.c @@ -19,7 +19,6 @@ #include /* system headers. */ -#include #include #include /* for bool */ #include