diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-04-26 22:05:30 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-04-26 22:05:30 -0400 |
commit | 82d8956ab4790196034417d148fcb73812b269d9 (patch) | |
tree | 1d4f4d7a1e504604b8a38c2e7c53660c5809332f /opendircolors.c | |
parent | e8627d18b48f68d825976f839fd5b1b35173bf40 (diff) | |
download | opendircolors-82d8956ab4790196034417d148fcb73812b269d9.tar.gz opendircolors-82d8956ab4790196034417d148fcb73812b269d9.tar.zst opendircolors-82d8956ab4790196034417d148fcb73812b269d9.zip |
clang-format everything
Diffstat (limited to 'opendircolors.c')
-rw-r--r-- | opendircolors.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/opendircolors.c b/opendircolors.c index 6f91f0d..da87fed 100644 --- a/opendircolors.c +++ b/opendircolors.c @@ -26,18 +26,18 @@ * SUCH DAMAGE. */ +#include <err.h> +#include <errno.h> #include <getopt.h> +#include <libgen.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sysexits.h> -#include <errno.h> -#include <libgen.h> -#include <err.h> #include "common.h" -void usage(const char*); +void usage(const char *); #define MAXKEYLEN 21 @@ -103,7 +103,7 @@ main(int argc, char **argv) fd = stdin; else if ((fd = fopen(path, "r")) == NULL) { warnx("%s: %s\n", path, strerror(errno)); - return(errno); + return (errno); } char *line = NULL; |