Reformat code to KNF

This commit is contained in:
Guillem Jover
2010-01-10 11:02:13 +01:00
parent 2872bfa151
commit abe0a4a7e6
4 changed files with 35 additions and 34 deletions

View File

@@ -29,13 +29,12 @@
int optreset = 0;
int
bsd_getopt (int argc, char **argv, char *shortopts)
bsd_getopt(int argc, char **argv, char *shortopts)
{
if (optreset == 1)
{
optreset = 0;
optind = 0;
}
if (optreset == 1) {
optreset = 0;
optind = 0;
}
return getopt (argc, argv, shortopts);
return getopt(argc, argv, shortopts);
}