summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenis Vlasenko2006-11-27 16:49:55 +0000
committerDenis Vlasenko2006-11-27 16:49:55 +0000
commitd9e15f206840219bb0f39c912a42fdcf8cbcaed6 (patch)
treeffdef7f5ab4a33038d0a62c9355b48f362aa463e /util-linux
parent079f8afa0a16112cbaf7012c82b38b7358b82141 (diff)
downloadbusybox-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.zip
busybox-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.tar.gz
style cleanup: return(a) -> return a, part 2
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/getopt.c4
-rw-r--r--util-linux/ipcrm.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/getopt.c b/util-linux/getopt.c
index 17f3c42..64f568a 100644
--- a/util-linux/getopt.c
+++ b/util-linux/getopt.c
@@ -317,10 +317,10 @@ int getopt_main(int argc, char *argv[])
s=xmalloc(strlen(argv[1])+1);
strcpy(s,argv[1]+strspn(argv[1],"-+"));
argv[1]=argv[0];
- return (generate_output(argv+1,argc-1,s,long_options));
+ return generate_output(argv+1,argc-1,s,long_options);
}
- while ((opt=getopt_long(argc,argv,shortopts,longopts,NULL)) != EOF)
+ while ((opt = getopt_long(argc,argv,shortopts,longopts,NULL)) != EOF)
switch (opt) {
case 'a':
alternative=1;
diff --git a/util-linux/ipcrm.c b/util-linux/ipcrm.c
index 0e44783..8ea9627 100644
--- a/util-linux/ipcrm.c
+++ b/util-linux/ipcrm.c
@@ -71,7 +71,7 @@ static int remove_ids(type_id type, int argc, char **argv)
argv++;
}
- return (nb_errors);
+ return nb_errors;
}
#endif /* #ifndef CONFIG_IPCRM_DROP_LEGACY */