diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2010-10-22 11:14:17 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2010-10-22 11:14:58 -0700 |
commit | ba6c03ba1a75ab19506e823d7a1d2f7daa70821b (patch) | |
tree | 0e3b5bc9cacab2db4e6333230f9636972b844e69 /lib/imaxtostr.c | |
parent | a0598ff28d2256e53968f760492c55879055ea94 (diff) | |
download | gnulib-ba6c03ba1a75ab19506e823d7a1d2f7daa70821b.tar.gz |
inttostr: simplify by removing unnecessary redundancy
* lib/anytostr.c: Don't include verify.h.
(anytostr): Don't verify that TYPE_SIGNED (inttype) equals
inttype_is_signed. Instead, use TYPE_SIGNED (inttype) directly.
This removes the need for inttype_is_signed, which was put in to
suppress some GCC warnings about conversions. This rewrite should
also suppress those warnings.
* lib/imaxtostr.c (inttype_is_signed): Remove; no longer needed.
* lib/inttostr.c, lib/offtostr.c, lib/uinttostr.c, lib/umaxtostr.c:
Likewise.
* modules/inttostr (Depends-on): Remove 'verify'.
Diffstat (limited to 'lib/imaxtostr.c')
-rw-r--r-- | lib/imaxtostr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/imaxtostr.c b/lib/imaxtostr.c index d2a0429b0d..b91ac98c4e 100644 --- a/lib/imaxtostr.c +++ b/lib/imaxtostr.c @@ -1,4 +1,3 @@ #define anytostr imaxtostr #define inttype intmax_t -#define inttype_is_signed 1 #include "anytostr.c" |