From: Jim Meyering <meyer...@redhat.com> * cfg.mk: Enable sc_prohibit_intprops_without_use * tests/test-nanosleep.c: Don't include "intprops.h". Not needed. * lib/ftoastr.c: Likewise. --- ChangeLog | 4 ++++ cfg.mk | 1 - lib/ftoastr.c | 1 - tests/test-nanosleep.c | 1 - 4 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog index a753d2f..00fbd8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2012-01-17 Jim Meyering <meyer...@redhat.com> + 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. + 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 d17dfea..8fc3015 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 7b0ddbb..ebeed3e 100644 --- a/lib/ftoastr.c +++ b/lib/ftoastr.c @@ -29,7 +29,6 @@ #include "ftoastr.h" -#include "intprops.h" #include <float.h> #include <stdio.h> #include <stdlib.h> diff --git a/tests/test-nanosleep.c b/tests/test-nanosleep.c index 86cc101..ed53ee7 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 <signal.h> #include <unistd.h> -#include "intprops.h" #include "macros.h" #if HAVE_DECL_ALARM -- 1.7.9.rc1.2.gccfe4