From 34823be715ed9e6f3f1b1ebcbe711dad18acd45a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 17 Jan 2012 18:21:34 +0100 Subject: [PATCH] maint: enable sc_prohibit_intprops_without_use * cfg.mk: Enable sc_prohibit_intprops_without_use * tests/test-nanosleep.c: Don't include "intprops.h". Not needed. * lib/ftoastr.c: Likewise. --- ChangeLog | 6 ++++++ cfg.mk | 1 - lib/ftoastr.c | 1 - tests/test-nanosleep.c | 1 - 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index edba6990f..eba37d184 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2012-01-17 Jim Meyering + maint: enable sc_prohibit_intprops_without_use + * cfg.mk: Enable sc_prohibit_intprops_without_use + * tests/test-nanosleep.c: Don't include "intprops.h". Not needed. + +2012-01-17 Jim Meyering + maint: enable sc_prohibit_hash_pjw_without_use * cfg.mk: Enable sc_prohibit_hash_pjw_without_use. * top/maint.mk (sc_prohibit_hash_pjw_without_use): Adjust regexp diff --git a/cfg.mk b/cfg.mk index 05f5ea4fe..37fb0a6cc 100644 --- a/cfg.mk +++ b/cfg.mk @@ -28,7 +28,6 @@ local-checks-to-skip = \ sc_prohibit_error_without_use \ sc_prohibit_getopt_without_use \ sc_prohibit_have_config_h \ - sc_prohibit_intprops_without_use \ sc_prohibit_inttostr_without_use \ sc_prohibit_magic_number_exit \ sc_prohibit_openat_without_use \ diff --git a/lib/ftoastr.c b/lib/ftoastr.c index 7b0ddbb1a..ebeed3e13 100644 --- a/lib/ftoastr.c +++ b/lib/ftoastr.c @@ -29,7 +29,6 @@ #include "ftoastr.h" -#include "intprops.h" #include #include #include diff --git a/tests/test-nanosleep.c b/tests/test-nanosleep.c index 86cc10188..ed53ee7d2 100644 --- a/tests/test-nanosleep.c +++ b/tests/test-nanosleep.c @@ -27,7 +27,6 @@ SIGNATURE_CHECK (nanosleep, int, (struct timespec const *, struct timespec *)); #include #include -#include "intprops.h" #include "macros.h" #if HAVE_DECL_ALARM -- 2.11.0