diff options
author | Denys Vlasenko | 2009-10-22 22:28:08 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-10-22 22:28:08 +0200 |
commit | c0dab37d0a2e079d0e0c85aa979439373e9096ca (patch) | |
tree | a9604c6673dfef0726eebba516c5674bcf40ef3e /coreutils/cal.c | |
parent | 6935ec9c0b2ac58b1ddc206c21bea36582e1f233 (diff) | |
download | busybox-c0dab37d0a2e079d0e0c85aa979439373e9096ca.zip busybox-c0dab37d0a2e079d0e0c85aa979439373e9096ca.tar.gz |
*: remove last function calls to isspace
function old new delta
xstrtoul_range_sfx 232 231 -1
xstrtoull_range_sfx 295 293 -2
trim 82 80 -2
trim_trailing_spaces_and_print 57 52 -5
isspace 18 - -18
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/cal.c')
-rw-r--r-- | coreutils/cal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/cal.c b/coreutils/cal.c index ef70b0e..7973b82 100644 --- a/coreutils/cal.c +++ b/coreutils/cal.c @@ -262,7 +262,7 @@ static void trim_trailing_spaces_and_print(char *s) } while (p != s) { --p; - if (!(isspace)(*p)) { /* We want the function... not the inline. */ + if (!isspace(*p)) { p[1] = '\0'; break; } |