summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-04-14 12:41:05 +0000
committerJim Meyering <jim@meyering.net>2000-04-14 12:41:05 +0000
commit2e469b088b7c0ff041b59261b349b798b0bd34e5 (patch)
tree7302930368b5458187b0a6584826f31ef9d17473 /src
parentd5066f22eb625703a0f720f6a38b96ef06cae886 (diff)
downloadcoreutils-2e469b088b7c0ff041b59261b349b798b0bd34e5.tar.xz
Shorten `#ifdef HAVE_...' to `#if HAVE_...' and
remove unnecessary uses of `defined' (aesthetics).
Diffstat (limited to 'src')
-rw-r--r--src/seq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/seq.c b/src/seq.c
index 665461d58..c8242e030 100644
--- a/src/seq.c
+++ b/src/seq.c
@@ -226,7 +226,7 @@ the increment must be positive"));
return 0;
}
-#if defined (HAVE_RINT) && defined (HAVE_MODF) && defined (HAVE_FLOOR)
+#if HAVE_RINT && HAVE_MODF && HAVE_FLOOR
/* Return a printf-style format string with which all selected numbers
will format to strings of the same width. */
@@ -344,7 +344,7 @@ main (int argc, char **argv)
step_is_set = 0;
/* Figure out the locale's idea of a decimal point. */
-#ifdef HAVE_LOCALECONV
+#if HAVE_LOCALECONV
{
struct lconv *locale;