aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-08-18 14:48:42 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-08-18 14:48:42 +0000
commitdc6271cd79947c020fc21a9d5641de6d576f61f2 (patch)
tree4dd6920b3201ba486cc4c803cc74d8a799d9178b /tmux.h
parent003a2e6479a89320b89611bd05f74797b5533890 (diff)
downloadrtmux-dc6271cd79947c020fc21a9d5641de6d576f61f2.tar.gz
rtmux-dc6271cd79947c020fc21a9d5641de6d576f61f2.tar.bz2
rtmux-dc6271cd79947c020fc21a9d5641de6d576f61f2.zip
Tag a few missed printf-like functions and fix a missing "%s".
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tmux.h b/tmux.h
index 4ba1cec4..4aa844b8 100644
--- a/tmux.h
+++ b/tmux.h
@@ -991,9 +991,9 @@ struct cmd_ctx {
struct msg_command_data *msgdata;
- void (*print)(struct cmd_ctx *, const char *, ...);
- void (*info)(struct cmd_ctx *, const char *, ...);
- void (*error)(struct cmd_ctx *, const char *, ...);
+ void printflike2 (*print)(struct cmd_ctx *, const char *, ...);
+ void printflike2 (*info)(struct cmd_ctx *, const char *, ...);
+ void printflike2 (*error)(struct cmd_ctx *, const char *, ...);
};
struct cmd {
@@ -1722,8 +1722,8 @@ void printflike1 log_warnx(const char *, ...);
void printflike1 log_info(const char *, ...);
void printflike1 log_debug(const char *, ...);
void printflike1 log_debug2(const char *, ...);
-__dead void log_fatal(const char *, ...);
-__dead void log_fatalx(const char *, ...);
+__dead void printflike1 log_fatal(const char *, ...);
+__dead void printflike1 log_fatalx(const char *, ...);
/* xmalloc.c */
char *xstrdup(const char *);