comparison src/proto/channel.pro @ 13608:2a2b668cf24c v8.0.1676

patch 8.0.1676: no compiler warning for wrong printf format commit https://github.com/vim/vim/commit/4ac2e8d8e60dcc7dbff662e177b86ccfbda7cd9e Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 8 12:38:26 2018 +0200 patch 8.0.1676: no compiler warning for wrong printf format Problem: No compiler warning for wrong printf format. Solution: Add a printf attribute for gcc. Fix reported problems. (Dominique Pelle, closes #2789)
author Christian Brabandt <cb@256bit.org>
date Sun, 08 Apr 2018 12:45:07 +0200
parents 6faef782f50b
children f309afff6f25
comparison
equal deleted inserted replaced
13607:2e79e5e6ce15 13608:2a2b668cf24c
1 /* channel.c */ 1 /* channel.c */
2 void ch_logfile(char_u *fname, char_u *opt); 2 void ch_logfile(char_u *fname, char_u *opt);
3 int ch_log_active(void); 3 int ch_log_active(void);
4 void ch_log(channel_T *ch, const char *fmt, ...);
5 channel_T *add_channel(void); 4 channel_T *add_channel(void);
6 int has_any_channel(void); 5 int has_any_channel(void);
7 int channel_unref(channel_T *channel); 6 int channel_unref(channel_T *channel);
8 int free_unused_channels_contents(int copyID, int mask); 7 int free_unused_channels_contents(int copyID, int mask);
9 void free_unused_channels(int copyID, int mask); 8 void free_unused_channels(int copyID, int mask);