From: nicm Date: Fri, 20 Aug 2021 20:08:30 +0000 (+0000) Subject: A couple more spacing fixes. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7db80ed31bd26ab55cee1d1b59032fcd12e6236a;p=openbsd A couple more spacing fixes. --- diff --git a/usr.bin/tmux/arguments.c b/usr.bin/tmux/arguments.c index 875f04ebd51..6bcbe2dd124 100644 --- a/usr.bin/tmux/arguments.c +++ b/usr.bin/tmux/arguments.c @@ -1,4 +1,4 @@ -/* $OpenBSD: arguments.c,v 1.38 2021/08/20 19:50:16 nicm Exp $ */ +/* $OpenBSD: arguments.c,v 1.39 2021/08/20 20:08:30 nicm Exp $ */ /* * Copyright (c) 2010 Nicholas Marriott @@ -148,7 +148,7 @@ args_vector(struct args *args, int *argc, char ***argv) static void printflike(3, 4) args_print_add(char **buf, size_t *len, const char *fmt, ...) { - va_list ap; + va_list ap; char *s; size_t slen; @@ -181,7 +181,7 @@ args_print_add_argument(char **buf, size_t *len, const char *argument) char * args_print(struct args *args) { - size_t len; + size_t len; char *buf; int i; u_int j; @@ -376,7 +376,7 @@ args_strtonum(struct args *args, u_char flag, long long minval, long long maxval, char **cause) { const char *errstr; - long long ll; + long long ll; struct args_entry *entry; struct args_value *value; @@ -418,7 +418,7 @@ args_string_percentage(const char *value, long long minval, long long maxval, long long curval, char **cause) { const char *errstr; - long long ll; + long long ll; size_t valuelen = strlen(value); char *copy; diff --git a/usr.bin/tmux/cmd-parse.y b/usr.bin/tmux/cmd-parse.y index bef99c185fb..35829b47d9a 100644 --- a/usr.bin/tmux/cmd-parse.y +++ b/usr.bin/tmux/cmd-parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-parse.y,v 1.36 2021/08/20 09:06:26 nicm Exp $ */ +/* $OpenBSD: cmd-parse.y,v 1.37 2021/08/20 20:08:30 nicm Exp $ */ /* * Copyright (c) 2019 Nicholas Marriott @@ -579,7 +579,7 @@ cmd_parse_get_error(const char *file, u_int line, const char *error) if (file == NULL) s = xstrdup(error); else - xasprintf (&s, "%s:%u: %s", file, line, error); + xasprintf(&s, "%s:%u: %s", file, line, error); return (s); } diff --git a/usr.bin/tmux/format.c b/usr.bin/tmux/format.c index 30176be4c4c..59d047a2172 100644 --- a/usr.bin/tmux/format.c +++ b/usr.bin/tmux/format.c @@ -1,4 +1,4 @@ -/* $OpenBSD: format.c,v 1.293 2021/08/20 20:04:22 nicm Exp $ */ +/* $OpenBSD: format.c,v 1.294 2021/08/20 20:08:30 nicm Exp $ */ /* * Copyright (c) 2011 Nicholas Marriott @@ -2085,7 +2085,7 @@ static void * format_cb_session_windows(struct format_tree *ft) { if (ft->s != NULL) - return (format_printf ("%u", winlink_count(&ft->s->windows))); + return (format_printf("%u", winlink_count(&ft->s->windows))); return (NULL); }