From: Cameron Katri Date: Tue, 27 Apr 2021 02:05:30 +0000 (-0400) Subject: clang-format everything X-Git-Tag: v0.0.1~4 X-Git-Url: https://git.cameronkatri.com/opendircolors.git/commitdiff_plain/82d8956ab4790196034417d148fcb73812b269d9 clang-format everything --- diff --git a/dirconvert.c b/dirconvert.c index 0b93884..510821b 100644 --- a/dirconvert.c +++ b/dirconvert.c @@ -27,12 +27,12 @@ */ #include +#include #include #include #include #include #include -#include #include "common.h" 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 +#include #include +#include #include #include #include #include -#include -#include -#include #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;