summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2021-08-20 20:08:31 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2021-08-20 20:08:31 +0000
commitcc70cb46b82fc010605de2556e233cd0392ae516 (patch)
tree9ceaeabc6f8c92365fd751b0ca1d459884fce757 /usr.bin
parentc9244b8ebd7e9260b5f45a9f311f7a4308b2e7a6 (diff)
A couple more spacing fixes.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tmux/arguments.c10
-rw-r--r--usr.bin/tmux/cmd-parse.y4
-rw-r--r--usr.bin/tmux/format.c4
3 files changed, 9 insertions, 9 deletions
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 <nicholas.marriott@gmail.com>
@@ -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 <nicholas.marriott@gmail.com>
@@ -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 <nicholas.marriott@gmail.com>
@@ -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);
}