Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/tmux/dist tmux: move __printflike to the declar...
details: https://anonhg.NetBSD.org/src/rev/05946b5efe0b
branches: trunk
changeset: 1020682:05946b5efe0b
user: rillig <rillig%NetBSD.org@localhost>
date: Tue Apr 20 17:42:31 2021 +0000
description:
tmux: move __printflike to the declaration in the header
Noted by Akihiko HAYASHI.
diffstat:
external/bsd/tmux/dist/status.c | 2 +-
external/bsd/tmux/dist/tmux.h | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r 53984e263aa7 -r 05946b5efe0b external/bsd/tmux/dist/status.c
--- a/external/bsd/tmux/dist/status.c Tue Apr 20 10:39:58 2021 +0000
+++ b/external/bsd/tmux/dist/status.c Tue Apr 20 17:42:31 2021 +0000
@@ -422,7 +422,7 @@
}
/* Set a status line message. */
-void __printflike(5, 0)
+void
status_message_set(struct client *c, int delay, int ignore_styles,
int ignore_keys, const char *fmt, ...)
{
diff -r 53984e263aa7 -r 05946b5efe0b external/bsd/tmux/dist/tmux.h
--- a/external/bsd/tmux/dist/tmux.h Tue Apr 20 10:39:58 2021 +0000
+++ b/external/bsd/tmux/dist/tmux.h Tue Apr 20 17:42:31 2021 +0000
@@ -2492,7 +2492,8 @@
void status_init(struct client *);
void status_free(struct client *);
int status_redraw(struct client *);
-void status_message_set(struct client *, int, int, int, const char *, ...);
+void status_message_set(struct client *, int, int, int, const char *, ...)
+ __printflike(5, 0);
void status_message_clear(struct client *);
int status_message_redraw(struct client *);
void status_prompt_set(struct client *, struct cmd_find_state *,
Home |
Main Index |
Thread Index |
Old Index