comparison src/netbeans.c @ 25475:038eb6d9003a v8.2.3274

patch 8.2.3274: macro for printf format check can be simplified Commit: https://github.com/vim/vim/commit/952d9d827e5bfc66a6b1d39956e4e5596b09e2bd Author: Bram Moolenaar <Bram@vim.org> Date: Mon Aug 2 18:07:18 2021 +0200 patch 8.2.3274: macro for printf format check can be simplified Problem: Macro for printf format check can be simplified. Solution: Add ATTRIBUTE_FORMAT_PRINTF(). (Dominique Pell?, issue https://github.com/vim/vim/issues/8635)
author Bram Moolenaar <Bram@vim.org>
date Mon, 02 Aug 2021 18:15:06 +0200
parents 70eb58639009
children d7e1cf30728c
comparison
equal deleted inserted replaced
25474:c79b2530406a 25475:038eb6d9003a
52 static void special_keys(char_u *args); 52 static void special_keys(char_u *args);
53 53
54 static int getConnInfo(char *file, char **host, char **port, char **password); 54 static int getConnInfo(char *file, char **host, char **port, char **password);
55 55
56 static void nb_init_graphics(void); 56 static void nb_init_graphics(void);
57 static void coloncmd(char *cmd, ...); 57 static void coloncmd(char *cmd, ...) ATTRIBUTE_FORMAT_PRINTF(1, 2);
58 static void nb_set_curbuf(buf_T *buf); 58 static void nb_set_curbuf(buf_T *buf);
59 static void nb_parse_cmd(char_u *); 59 static void nb_parse_cmd(char_u *);
60 static int nb_do_cmd(int, char_u *, int, int, char_u *); 60 static int nb_do_cmd(int, char_u *, int, int, char_u *);
61 static void nb_send(char *buf, char *fun); 61 static void nb_send(char *buf, char *fun);
62 static void nb_free(void); 62 static void nb_free(void);