diff options
author | Thomas Voss <mail@thomasvoss.com> | 2022-11-21 18:26:53 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2022-11-21 18:26:53 +0100 |
commit | f6c80cb11d92559a003d38ffd4ccc5f827e87853 (patch) | |
tree | 444ec74db1ad160c01c48d0c295274157fd9fb54 | |
parent | 4d8d85996eb17952b09119e0f8bb5c6e8adf7fa6 (diff) |
Formatting changes
-rw-r--r-- | center.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -31,7 +31,7 @@ #define ESC 033 -#define die(...) err(EXIT_FAILURE, __VA_ARGS__) +#define die(...) err(EXIT_FAILURE, __VA_ARGS__) #define diex(...) errx(EXIT_FAILURE, __VA_ARGS__) struct line_item { @@ -45,13 +45,13 @@ static void center(FILE *); static void center_by_longest(FILE *); static void println(const char *, size_t); static long polong(char *, const char *); -static int cols(void); -static int utf8len(const char *); -static int noesclen(const char *); -static int matchesc(const char *); -static int cnttabs(const char *); +static int cols(void); +static int utf8len(const char *); +static int noesclen(const char *); +static int matchesc(const char *); +static int cnttabs(const char *); -extern int optind; +extern int optind; extern char *optarg; int rval; @@ -82,7 +82,7 @@ main(int argc, char **argv) {"spaces", no_argument, NULL, 'r'}, {"tabsize", required_argument, NULL, 't'}, {"width", required_argument, NULL, 'w'}, - {NULL, 0, NULL, 0 } + { NULL, 0, NULL, 0 } }; while ((opt = getopt_long(argc, argv, optstr, longopts, NULL)) != -1) { switch (opt) { |