style cleanup: return(a) -> return a, part 2

This commit is contained in:
Denis Vlasenko
2006-11-27 16:49:55 +00:00
parent 079f8afa0a
commit d9e15f2068
28 changed files with 273 additions and 282 deletions

View File

@ -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;

View File

@ -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 */