From: Gary V. Vaughan Date: Mon, 24 Oct 2011 11:52:57 +0000 (+0700) Subject: syntax-check: fix violations and re-enable sc_prohibit_stddef_without_use. X-Git-Tag: v2.4.2.418~242 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=176ed6112974a072dfb0ff430fb6c2d9caf1f634;p=thirdparty%2Flibtool.git syntax-check: fix violations and re-enable sc_prohibit_stddef_without_use. * cfg.mk (local-checks-to-fix): Remove sc_prohibit_stddef_without_use from list of disabled checks. * libltdl/argz.c, libltdl/lt__dirent.c, libltdl/slist.c: Remove spurious stddef.h #include lines. Signed-off-by: Gary V. Vaughan --- diff --git a/cfg.mk b/cfg.mk index f8525c03d..17f362f17 100644 --- a/cfg.mk +++ b/cfg.mk @@ -40,7 +40,6 @@ VC_LIST_ALWAYS_EXCLUDE_REGEX = ^mail/ local-checks-to-fix = \ sc_prohibit_always-defined_macros \ sc_prohibit_always_true_header_tests \ - sc_prohibit_stddef_without_use \ sc_prohibit_strcmp \ sc_prohibit_test_minus_ao \ sc_prohibit_undesirable_word_seq \ diff --git a/libltdl/argz.c b/libltdl/argz.c index b2e7769da..04431fe14 100644 --- a/libltdl/argz.c +++ b/libltdl/argz.c @@ -37,7 +37,6 @@ or obtained by writing to the Free Software Foundation, Inc., #include #include -#include #include #include #include diff --git a/libltdl/lt__dirent.c b/libltdl/lt__dirent.c index 1ff205110..d29923627 100644 --- a/libltdl/lt__dirent.c +++ b/libltdl/lt__dirent.c @@ -31,7 +31,6 @@ or obtained by writing to the Free Software Foundation, Inc., #include "lt__private.h" #include -#include #include "lt__dirent.h" diff --git a/libltdl/slist.c b/libltdl/slist.c index 25906a43a..5c2e9e190 100644 --- a/libltdl/slist.c +++ b/libltdl/slist.c @@ -31,7 +31,6 @@ or obtained by writing to the Free Software Foundation, Inc., #include #include "slist.h" -#include #include static SList * slist_sort_merge (SList *left, SList *right,