aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_opts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_opts.c')
-rw-r--r--src/c_opts.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/c_opts.c b/src/c_opts.c
index 886c10e..7c8170e 100644
--- a/src/c_opts.c
+++ b/src/c_opts.c
@@ -42,7 +42,7 @@
* 2020-11-02 23:37
* Joe
*
- * This is where we handle command line options
+ * This is where we handle command line options.
*/
#include <stdlib.h>
@@ -52,10 +52,7 @@
#include "c_opts.h"
void
-c_opts
-(struct opts_s* opts,
- int argc,
- const char* argv[])
+c_opts(struct opts_s* opts, int argc, const char* argv[])
{
int opt;
@@ -70,10 +67,10 @@ c_opts
}
else if (opt == '?') {
dprintf(
- STDERR_FILENO,
- "unixize: %c: unknown option\n",
- optopt
- );
+ STDERR_FILENO,
+ "unixize: %c: unknown option\n",
+ optopt
+ );
exit(1);
}
}