mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-20 14:02:43 +02:00
Reformat code to KNF
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user