diff options
author | Denis Vlasenko | 2006-11-27 16:49:55 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-11-27 16:49:55 +0000 |
commit | d9e15f206840219bb0f39c912a42fdcf8cbcaed6 (patch) | |
tree | ffdef7f5ab4a33038d0a62c9355b48f362aa463e /shell/ash.c | |
parent | 079f8afa0a16112cbaf7012c82b38b7358b82141 (diff) | |
download | busybox-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.zip busybox-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.tar.gz |
style cleanup: return(a) -> return a, part 2
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/shell/ash.c b/shell/ash.c index 704d03b..0704353 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -2160,8 +2160,8 @@ lookupalias(const char *name, int check) struct alias *ap = *__lookupalias(name); if (check && ap && (ap->flag & ALIASINUSE)) - return (NULL); - return (ap); + return NULL; + return ap; } /* @@ -2196,7 +2196,7 @@ aliascmd(int argc, char **argv) } } - return (ret); + return ret; } static int @@ -2217,7 +2217,7 @@ unaliascmd(int argc, char **argv) } } - return (i); + return i; } static struct alias * @@ -4831,10 +4831,10 @@ done: startloc = expdest - (char *)stackblock(); strtodest(home, SQSYNTAX, quotes); recordregion(startloc, expdest - (char *)stackblock(), 0); - return (p); + return p; lose: *p = c; - return (startp); + return startp; } @@ -9969,7 +9969,7 @@ out: else TRACE(("reread token %s %s\n", tokname(t), t == TWORD ? wordtext : "")); #endif - return (t); + return t; } @@ -12531,7 +12531,7 @@ dash_arith(const char *s) } INTON; - return (result); + return result; } @@ -12555,7 +12555,7 @@ letcmd(int argc, char **argv) i = dash_arith(*ap); } - return (!i); + return !i; } #endif /* CONFIG_ASH_MATH_SUPPORT */ |