summaryrefslogtreecommitdiff
path: root/src/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/channel.c')
-rw-r--r--src/channel.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/channel.c b/src/channel.c
index 5307792e8..47c742d83 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -229,11 +229,7 @@ ch_log(channel_T *ch, const char *fmt, ...)
#endif
static void
-ch_error(channel_T *ch, const char *fmt, ...)
-#ifdef USE_PRINTF_FORMAT_ATTRIBUTE
- __attribute__((format(printf, 2, 3)))
-#endif
- ;
+ch_error(channel_T *ch, const char *fmt, ...) ATTRIBUTE_FORMAT_PRINTF(2, 3);
static void
ch_error(channel_T *ch, const char *fmt, ...)