]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
syntax-check: fix violations and re-enable sc_prohibit_stddef_without_use.
authorGary V. Vaughan <gary@gnu.org>
Mon, 24 Oct 2011 11:52:57 +0000 (18:52 +0700)
committerGary V. Vaughan <gary@gnu.org>
Thu, 17 Nov 2011 12:21:07 +0000 (19:21 +0700)
* 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>
cfg.mk
libltdl/argz.c
libltdl/lt__dirent.c
libltdl/slist.c

diff --git a/cfg.mk b/cfg.mk
index f8525c03d3db1ddba751d32abd77fe643e59df8e..17f362f175d5686b3bb5671582405b71ec849d53 100644 (file)
--- 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        \
index b2e7769daff24a4c4fb2e01e65e9bc1e16aae083..04431fe148b35952808c403a1d287c031aa96897 100644 (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>
index 1ff205110739d87b69732ae2e74a774bded16e23..d29923627c3a9f7761bab7bf66e250b2aa009156 100644 (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"
 
index 25906a43aa02d669d8e4596c3dee625d25fe689c..5c2e9e1905bfefc3e667754eddde646c2ad50434 100644 (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,