maint: enable sc_prohibit_intprops_without_use
authorJim Meyering <meyering@redhat.com>
Tue, 17 Jan 2012 17:21:34 +0000 (18:21 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 21 Jan 2012 14:07:02 +0000 (15:07 +0100)
* cfg.mk: Enable sc_prohibit_intprops_without_use
* tests/test-nanosleep.c: Don't include "intprops.h".  Not needed.
* lib/ftoastr.c: Likewise.

ChangeLog
cfg.mk
lib/ftoastr.c
tests/test-nanosleep.c

index edba699..eba37d1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2012-01-17  Jim Meyering  <meyering@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.
+
+2012-01-17  Jim Meyering  <meyering@redhat.com>
+
        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 05f5ea4..37fb0a6 100644 (file)
--- 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       \
index 7b0ddbb..ebeed3e 100644 (file)
@@ -29,7 +29,6 @@
 
 #include "ftoastr.h"
 
-#include "intprops.h"
 #include <float.h>
 #include <stdio.h>
 #include <stdlib.h>
index 86cc101..ed53ee7 100644 (file)
@@ -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