aboutsummaryrefslogtreecommitdiff
path: root/compat/getopt_long.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/getopt_long.c')
-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) */