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.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/c_opts.c b/src/c_opts.c
index 3884250..6b163c7 100644
--- a/src/c_opts.c
+++ b/src/c_opts.c
@@ -45,10 +45,10 @@
* This is where we handle command line options.
*/
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <stdio.h>
#include "c_opts.h"
#include "c_unixize.h"
@@ -56,9 +56,11 @@
static void
c_dump_usage(void)
{
- dprintf(STDERR_FILENO,
- C_USAGE_FMT,
- C_OPTS);
+ dprintf(
+ STDERR_FILENO,
+ C_USAGE_FMT,
+ C_OPTS
+ );
}
static void
@@ -80,9 +82,10 @@ c_ask_confirm(const char dir[])
}
void
-c_get_opts(struct opts_s* opts,
- int argc,
- const char* argv[])
+c_get_opts
+(struct opts_s* opts,
+ int argc,
+ const char* argv[])
{
int opt;
bool_t confirm;