termux-packages/packages/tmux/tmux_h.patch

13 lines
462 B
Diff

diff -u -r ../tmux-1.9a/tmux.h ./tmux.h
--- ../tmux-1.9a/tmux.h 2014-02-22 21:48:37.000000000 +0100
+++ ./tmux.h 2014-02-24 08:44:04.000000000 +0100
@@ -62,7 +62,7 @@
#define fatalx(msg) log_fatalx("%s: %s", __func__, msg);
/* Definition to shut gcc up about unused arguments. */
-#define unused __attribute__ ((unused))
+#define unused
/* Attribute to make gcc check printf-like arguments. */
#define printflike1 __attribute__ ((format (printf, 1, 2)))