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>
This commit is contained in:
Gary V. Vaughan 2011-10-24 18:52:57 +07:00
parent b5c821f680
commit 176ed61129
4 changed files with 0 additions and 4 deletions

1
cfg.mk
View File

@ -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 \

View File

@ -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>

View File

@ -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"

View File

@ -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,