summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2019-05-25 06:58:11 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2019-05-25 06:58:11 +0000
commitea8e59919d310fe632bd5ac330a7cf44616fa4b7 (patch)
treeb91c0cafd9f6ecd0c686db802c5916b0c963b538 /usr.bin/tmux/tmux.h
parent83d339861f77517cf029dd42e9835f853a485068 (diff)
Make cmd_log_argv take a printf-like format for the prefix.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 1d6ffb225f7..35fac212d9d 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.903 2019/05/23 14:03:44 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.904 2019/05/25 06:58:10 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1987,7 +1987,7 @@ int cmd_find_from_mouse(struct cmd_find_state *,
int cmd_find_from_nothing(struct cmd_find_state *, int);
/* cmd.c */
-void cmd_log_argv(int, char **, const char *);
+void printflike(3, 4) cmd_log_argv(int, char **, const char *, ...);
void cmd_prepend_argv(int *, char ***, char *);
void cmd_append_argv(int *, char ***, char *);
int cmd_pack_argv(int, char **, char *, size_t);