summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary V. Vaughan <gary@gnu.org>2011-10-24 18:52:57 +0700
committerGary V. Vaughan <gary@gnu.org>2011-11-17 19:21:07 +0700
commit176ed6112974a072dfb0ff430fb6c2d9caf1f634 (patch)
tree3a0569fd2dc6d6dde5c20c9db23d9a18680ba156
parentb5c821f6801f76ffcdf84369c69990082a2e097e (diff)
downloadlibtool-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.mk1
-rw-r--r--libltdl/argz.c1
-rw-r--r--libltdl/lt__dirent.c1
-rw-r--r--libltdl/slist.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/cfg.mk b/cfg.mk
index f8525c03..17f362f1 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 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,