diff options
author | Jim Meyering <jim@meyering.net> | 2005-08-12 07:16:25 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-08-12 07:16:25 +0000 |
commit | 0b08c3815214197faf9baf5cd77ddac6ae6f7c1d (patch) | |
tree | 12bcef60191f67fb8184bd12adaa0bfda5c40ce1 /src/cut.c | |
parent | 6f7fd1a8667c45df0207fef3399b6167dbd283f3 (diff) | |
download | coreutils-0b08c3815214197faf9baf5cd77ddac6ae6f7c1d.tar.xz |
Cosmetic: use X2NREALLOC (only two arguments) rather than x2nrealloc (with three).
Diffstat (limited to 'src/cut.c')
-rw-r--r-- | src/cut.c | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -54,17 +54,17 @@ space if necessary. Update local variable N_RP. When allocating, update global variable N_RP_ALLOCATED. */ -#define ADD_RANGE_PAIR(rp, low, high) \ - do \ - { \ - if (n_rp >= n_rp_allocated) \ - { \ - (rp) = x2nrealloc (rp, &n_rp_allocated, sizeof *(rp)); \ - } \ - rp[n_rp].lo = (low); \ - rp[n_rp].hi = (high); \ - ++n_rp; \ - } \ +#define ADD_RANGE_PAIR(rp, low, high) \ + do \ + { \ + if (n_rp >= n_rp_allocated) \ + { \ + (rp) = X2NREALLOC (rp, &n_rp_allocated); \ + } \ + rp[n_rp].lo = (low); \ + rp[n_rp].hi = (high); \ + ++n_rp; \ + } \ while (0) struct range_pair |