diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-27 16:49:55 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-27 16:49:55 +0000 |
commit | d9e15f206840219bb0f39c912a42fdcf8cbcaed6 (patch) | |
tree | ffdef7f5ab4a33038d0a62c9355b48f362aa463e /util-linux/getopt.c | |
parent | 079f8afa0a16112cbaf7012c82b38b7358b82141 (diff) | |
download | busybox-w32-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.tar.gz busybox-w32-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.tar.bz2 busybox-w32-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.zip |
style cleanup: return(a) -> return a, part 2
Diffstat (limited to 'util-linux/getopt.c')
-rw-r--r-- | util-linux/getopt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/getopt.c b/util-linux/getopt.c index 17f3c4297..64f568aa9 100644 --- a/util-linux/getopt.c +++ b/util-linux/getopt.c | |||
@@ -317,10 +317,10 @@ int getopt_main(int argc, char *argv[]) | |||
317 | s=xmalloc(strlen(argv[1])+1); | 317 | s=xmalloc(strlen(argv[1])+1); |
318 | strcpy(s,argv[1]+strspn(argv[1],"-+")); | 318 | strcpy(s,argv[1]+strspn(argv[1],"-+")); |
319 | argv[1]=argv[0]; | 319 | argv[1]=argv[0]; |
320 | return (generate_output(argv+1,argc-1,s,long_options)); | 320 | return generate_output(argv+1,argc-1,s,long_options); |
321 | } | 321 | } |
322 | 322 | ||
323 | while ((opt=getopt_long(argc,argv,shortopts,longopts,NULL)) != EOF) | 323 | while ((opt = getopt_long(argc,argv,shortopts,longopts,NULL)) != EOF) |
324 | switch (opt) { | 324 | switch (opt) { |
325 | case 'a': | 325 | case 'a': |
326 | alternative=1; | 326 | alternative=1; |