summaryrefslogtreecommitdiff
path: root/src/od.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-05-07 03:09:55 +0000
committerJim Meyering <jim@meyering.net>1993-05-07 03:09:55 +0000
commit9a96f7c461a5c7c53639d3f84bd446a6959aa1a9 (patch)
treedf4468282d2a175bdfabcb9001f30b18f9686329 /src/od.c
parentf7999d7584ad787f4e7432b7ad76cc3486bc7b0b (diff)
downloadcoreutils-9a96f7c461a5c7c53639d3f84bd446a6959aa1a9.tar.xz
merge with 1.5
Diffstat (limited to 'src/od.c')
-rw-r--r--src/od.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/od.c b/src/od.c
index a6967d1fb..ea4f12b39 100644
--- a/src/od.c
+++ b/src/od.c
@@ -43,7 +43,7 @@ char *alloca ();
#include <float.h>
#endif
-#if defined (__GNUC__) || defined (HAVE_LONG_DOUBLE)
+#ifdef HAVE_LONG_DOUBLE
typedef long double LONG_DOUBLE;
#else
typedef double LONG_DOUBLE;
@@ -553,7 +553,7 @@ print_double (n_bytes, block, fmt_string)
}
}
-#if defined (__GNUC__) || defined (HAVE_LONG_DOUBLE)
+#ifdef HAVE_LONG_DOUBLE
static void
print_long_double (n_bytes, block, fmt_string)
long unsigned int n_bytes;
@@ -885,7 +885,7 @@ decode_one_format (s, next, tspec)
DBL_DIG + 8, DBL_DIG);
break;
-#if defined (__GNUC__) || defined (HAVE_LONG_DOUBLE)
+#ifdef HAVE_LONG_DOUBLE
case FP_LONG_DOUBLE:
print_function = print_long_double;
pre_fmt_string = "%%%d.%dle%%c";
@@ -1808,7 +1808,6 @@ main (argc, argv)
if (flag_compatibility)
{
long int offset;
- int usage_error = 0;
if (n_files == 1)
{
@@ -1840,7 +1839,6 @@ main (argc, argv)
}
else
{
- usage_error = 1;
error (0, 0,
"invalid second operand in compatibility mode `%s'",
argv[optind + 1]);