aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-27 16:49:55 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-27 16:49:55 +0000
commitdb172fe425634b7d784ae1d5af6d88b96b4e747e (patch)
treeffdef7f5ab4a33038d0a62c9355b48f362aa463e /util-linux
parentbb89b301143fe9deb962bb2d48264b27a945fcf4 (diff)
downloadbusybox-w32-db172fe425634b7d784ae1d5af6d88b96b4e747e.tar.gz
busybox-w32-db172fe425634b7d784ae1d5af6d88b96b4e747e.tar.bz2
busybox-w32-db172fe425634b7d784ae1d5af6d88b96b4e747e.zip
style cleanup: return(a) -> return a, part 2
git-svn-id: svn://busybox.net/trunk/busybox@16691 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 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;
diff --git a/util-linux/ipcrm.c b/util-linux/ipcrm.c
index 0e44783b3..8ea9627c1 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)
71 argv++; 71 argv++;
72 } 72 }
73 73
74 return (nb_errors); 74 return nb_errors;
75} 75}
76#endif /* #ifndef CONFIG_IPCRM_DROP_LEGACY */ 76#endif /* #ifndef CONFIG_IPCRM_DROP_LEGACY */
77 77