diff options
author | Gary V. Vaughan <gary@gnu.org> | 2011-10-24 18:52:57 +0700 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2011-11-17 19:21:07 +0700 |
commit | 176ed6112974a072dfb0ff430fb6c2d9caf1f634 (patch) | |
tree | 3a0569fd2dc6d6dde5c20c9db23d9a18680ba156 | |
parent | b5c821f6801f76ffcdf84369c69990082a2e097e (diff) | |
download | libtool-176ed6112974a072dfb0ff430fb6c2d9caf1f634.tar.gz |
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 <gary@gnu.org>
-rw-r--r-- | cfg.mk | 1 | ||||
-rw-r--r-- | libltdl/argz.c | 1 | ||||
-rw-r--r-- | libltdl/lt__dirent.c | 1 | ||||
-rw-r--r-- | libltdl/slist.c | 1 |
4 files changed, 0 insertions, 4 deletions
@@ -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 b2e7769d..04431fe1 100644 --- a/libltdl/argz.c +++ b/libltdl/argz.c @@ -37,7 +37,6 @@ or obtained by writing to the Free Software Foundation, Inc., #include <argz.h> #include <assert.h> -#include <stddef.h> #include <stdlib.h> #include <sys/types.h> #include <errno.h> diff --git a/libltdl/lt__dirent.c b/libltdl/lt__dirent.c index 1ff20511..d2992362 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 <assert.h> -#include <stddef.h> #include "lt__dirent.h" diff --git a/libltdl/slist.c b/libltdl/slist.c index 25906a43..5c2e9e19 100644 --- a/libltdl/slist.c +++ b/libltdl/slist.c @@ -31,7 +31,6 @@ or obtained by writing to the Free Software Foundation, Inc., #include <assert.h> #include "slist.h" -#include <stddef.h> #include <stdlib.h> static SList * slist_sort_merge (SList *left, SList *right, |