aboutsummaryrefslogtreecommitdiff
path: root/lib/args.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-11-15 18:30:30 -0600
committerRob Landley <rob@landley.net>2007-11-15 18:30:30 -0600
commit2c226859cfc911c4a1eea009897050a16714aeec (patch)
tree9ae05df2a1907a25eb8eec8af0e677775bb3e74b /lib/args.c
parent5d43eb420e036d993a9e100c9b46d7b78e323123 (diff)
downloadtoybox-2c226859cfc911c4a1eea009897050a16714aeec.tar.gz
Remove trailing whitespace (thanks to Charlie Shepherd), and a couple comment
tweaks.
Diffstat (limited to 'lib/args.c')
-rw-r--r--lib/args.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/args.c b/lib/args.c
index 542b8cf0..8be84d8b 100644
--- a/lib/args.c
+++ b/lib/args.c
@@ -38,7 +38,7 @@
// -abc means -a -b -c
/* This uses a getopt-like option string, but not getopt() itself.
- *
+ *
* Each option in options corresponds to a bit position in the return
* value (last argument is (1<<0), the next to last is (1<<1) and so on).
* If the option isn't seen in argv[] its bit is 0.
@@ -57,7 +57,7 @@
* flags = 5, toy[0]=NULL, toy[1]="fruit";
*/
-//
+//
struct opts {
struct opts *next;
char c;
@@ -316,7 +316,7 @@ static int dofileargs(char ***files, int fd, int iswrite)
for (;;) {
// Are there no more files?
- if (!*filename)
+ if (!*filename)
return (fd == -1) ? iswrite : -1;
// A filename of "-" means stdin.