-/* $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>
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;
char *
args_print(struct args *args)
{
- size_t len;
+ size_t len;
char *buf;
int i;
u_int j;
long long maxval, char **cause)
{
const char *errstr;
- long long ll;
+ long long ll;
struct args_entry *entry;
struct args_value *value;
long long curval, char **cause)
{
const char *errstr;
- long long ll;
+ long long ll;
size_t valuelen = strlen(value);
char *copy;
-/* $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>
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);
}
-/* $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>
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);
}