summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-04-02 19:48:01 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-04-02 19:48:01 +0000
commitb38f6608c706a8b20299d3b9631773a3b438a875 (patch)
tree5d8946a45c9946c60e9b1d963a2650cb4d38c649
parent91bc6836f7f4c5a983b12be233a279d7dfd4ec99 (diff)
Fake warnx().
-rw-r--r--compat/getopt_long.c5
1 files changed, 4 insertions, 1 deletions
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 <string.h>
#include "tmux.h"
-#define warnx(a, b) /* XXX */
+int
+warnx(const char *fmt, ...)
+{
+}
#define REPLACE_GETOPT /* use this getopt as the system getopt(3) */