libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 15/25] syntax-check: fix violations and re-enable sc_prohibit_std


From: Gary V. Vaughan
Subject: [PATCH 15/25] syntax-check: fix violations and re-enable sc_prohibit_stddef_without_use.
Date: Tue, 15 Nov 2011 19:53:53 +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 <address@hidden>
---
 cfg.mk               |    1 -
 libltdl/argz.c       |    1 -
 libltdl/lt__dirent.c |    1 -
 libltdl/slist.c      |    1 -
 4 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/cfg.mk b/cfg.mk
index 43f7c19..d4ddf9c 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 b2e7769..04431fe 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 1ff2051..d299236 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 25906a4..5c2e9e1 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,
-- 
1.7.7.3

Cheers,
-- 
Gary V. Vaughan (gary AT gnu DOT org)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]