diff options
author | Rob Landley <rob@landley.net> | 2007-11-15 18:30:30 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-11-15 18:30:30 -0600 |
commit | 2c226859cfc911c4a1eea009897050a16714aeec (patch) | |
tree | 9ae05df2a1907a25eb8eec8af0e677775bb3e74b /lib/args.c | |
parent | 5d43eb420e036d993a9e100c9b46d7b78e323123 (diff) | |
download | toybox-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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. |