aboutsummaryrefslogtreecommitdiffstats
path: root/opendircolors.c
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2021-04-25 16:49:29 -0400
committerCameron Katri <me@cameronkatri.com>2021-04-25 16:49:29 -0400
commit2574ea03da54335dc1641696aa3bbf1cbe02f766 (patch)
tree2755e5bd95832ecadebde0319e59015cedec8b5f /opendircolors.c
parentefce3ace762149a406659a6d3614846a4b24c498 (diff)
downloadopendircolors-2574ea03da54335dc1641696aa3bbf1cbe02f766.tar.gz
opendircolors-2574ea03da54335dc1641696aa3bbf1cbe02f766.tar.zst
opendircolors-2574ea03da54335dc1641696aa3bbf1cbe02f766.zip
clang-format
Diffstat (limited to 'opendircolors.c')
-rw-r--r--opendircolors.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/opendircolors.c b/opendircolors.c
index bc1e748..f6ec9c2 100644
--- a/opendircolors.c
+++ b/opendircolors.c
@@ -26,22 +26,20 @@
* SUCH DAMAGE.
*/
+#include <getopt.h>
#include <stdio.h>
-#include <sysexits.h>
#include <stdlib.h>
#include <string.h>
-#include <getopt.h>
+#include <sysexits.h>
-void usage(void);
+void usage(void);
-static const struct option long_options[] =
-{
- {"help", no_argument, NULL, 'h'},
- {"bourne-shell", no_argument, NULL, 'b'},
- {"sh", no_argument, NULL, 'b'},
- {"print-database", no_argument, NULL, 'p'},
- {NULL, no_argument, NULL, 0}
-};
+static const struct option long_options[] = { { "help", no_argument, NULL,
+ 'h' },
+ { "bourne-shell", no_argument, NULL, 'b' },
+ { "sh", no_argument, NULL, 'b' },
+ { "print-database", no_argument, NULL, 'p' },
+ { NULL, no_argument, NULL, 0 } };
int
main(int argc, char **argv)