diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2021-08-22 13:54:04 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2021-08-22 14:02:22 -0700 |
commit | 6bb47c10f60a40df9d6a82d87d3ffe4593e1498d (patch) | |
tree | c1eced9729e4d5d1603de0cb0241d10c7c886049 /src/ifdef.c | |
parent | 044f3699523ace4b97afe4cf6ecf7f6c2cf97720 (diff) | |
download | diffutils-6bb47c10f60a40df9d6a82d87d3ffe4593e1498d.tar.gz |
diff: remove printint
* src/system.h (printint): Remove. All uses removed. This type
was only for porting to pre-C89 hosts, and is no longer needed.
Diffstat (limited to 'src/ifdef.c')
-rw-r--r-- | src/ifdef.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ifdef.c b/src/ifdef.c index d40a88e..5a000cb 100644 --- a/src/ifdef.c +++ b/src/ifdef.c @@ -359,7 +359,6 @@ do_printf_spec (FILE *out, char const *spec, { /* For example, if the spec is "%3xn" and pI is "l", use the printf format spec "%3lx". Here the spec prefix is "%3". */ - printint print_value = value; size_t spec_prefix_len = f - spec - 2; size_t pI_len = sizeof pI - 1; char *format = xmalloca (spec_prefix_len + pI_len + 2); @@ -368,7 +367,7 @@ do_printf_spec (FILE *out, char const *spec, memcpy (format + spec_prefix_len, pI, pI_len); *p++ = c; *p = '\0'; - fprintf (out, format, print_value); + fprintf (out, format, value); freea (format); } } |