aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-11-27 16:49:55 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-11-27 16:49:55 +0000
commitd9e15f206840219bb0f39c912a42fdcf8cbcaed6 (patch)
treeffdef7f5ab4a33038d0a62c9355b48f362aa463e /shell/ash.c
parent079f8afa0a16112cbaf7012c82b38b7358b82141 (diff)
downloadbusybox-w32-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.tar.gz
busybox-w32-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.tar.bz2
busybox-w32-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.zip
style cleanup: return(a) -> return a, part 2
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 704d03bec..0704353f5 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -2160,8 +2160,8 @@ lookupalias(const char *name, int check)
2160 struct alias *ap = *__lookupalias(name); 2160 struct alias *ap = *__lookupalias(name);
2161 2161
2162 if (check && ap && (ap->flag & ALIASINUSE)) 2162 if (check && ap && (ap->flag & ALIASINUSE))
2163 return (NULL); 2163 return NULL;
2164 return (ap); 2164 return ap;
2165} 2165}
2166 2166
2167/* 2167/*
@@ -2196,7 +2196,7 @@ aliascmd(int argc, char **argv)
2196 } 2196 }
2197 } 2197 }
2198 2198
2199 return (ret); 2199 return ret;
2200} 2200}
2201 2201
2202static int 2202static int
@@ -2217,7 +2217,7 @@ unaliascmd(int argc, char **argv)
2217 } 2217 }
2218 } 2218 }
2219 2219
2220 return (i); 2220 return i;
2221} 2221}
2222 2222
2223static struct alias * 2223static struct alias *
@@ -4831,10 +4831,10 @@ done:
4831 startloc = expdest - (char *)stackblock(); 4831 startloc = expdest - (char *)stackblock();
4832 strtodest(home, SQSYNTAX, quotes); 4832 strtodest(home, SQSYNTAX, quotes);
4833 recordregion(startloc, expdest - (char *)stackblock(), 0); 4833 recordregion(startloc, expdest - (char *)stackblock(), 0);
4834 return (p); 4834 return p;
4835lose: 4835lose:
4836 *p = c; 4836 *p = c;
4837 return (startp); 4837 return startp;
4838} 4838}
4839 4839
4840 4840
@@ -9969,7 +9969,7 @@ out:
9969 else 9969 else
9970 TRACE(("reread token %s %s\n", tokname(t), t == TWORD ? wordtext : "")); 9970 TRACE(("reread token %s %s\n", tokname(t), t == TWORD ? wordtext : ""));
9971#endif 9971#endif
9972 return (t); 9972 return t;
9973} 9973}
9974 9974
9975 9975
@@ -12531,7 +12531,7 @@ dash_arith(const char *s)
12531 } 12531 }
12532 INTON; 12532 INTON;
12533 12533
12534 return (result); 12534 return result;
12535} 12535}
12536 12536
12537 12537
@@ -12555,7 +12555,7 @@ letcmd(int argc, char **argv)
12555 i = dash_arith(*ap); 12555 i = dash_arith(*ap);
12556 } 12556 }
12557 12557
12558 return (!i); 12558 return !i;
12559} 12559}
12560#endif /* CONFIG_ASH_MATH_SUPPORT */ 12560#endif /* CONFIG_ASH_MATH_SUPPORT */
12561 12561