From b38f6608c706a8b20299d3b9631773a3b438a875 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 2 Apr 2009 19:48:01 +0000 Subject: [PATCH] Fake warnx(). --- compat/getopt_long.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/compat/getopt_long.c b/compat/getopt_long.c index 9bd4fe14..3a8a5ec1 100644 --- a/compat/getopt_long.c +++ b/compat/getopt_long.c @@ -56,7 +56,10 @@ #include #include "tmux.h" -#define warnx(a, b) /* XXX */ +int +warnx(const char *fmt, ...) +{ +} #define REPLACE_GETOPT /* use this getopt as the system getopt(3) */