s_user.c:1428:26: warning: format string is not a string literal
[-Wformat-nonliteral]
Adding the printf attribute to the function will make the compiler
assume that the 'format' argument to the function is a string
literal (by warning about the *callers* of the function *not* using
a string literal), thus avoiding the warning in the function.
struct User *user, const char *nick, int use_euid);
extern void change_nick_user_host(struct Client *target_p, const char *nick, const char *user,
- const char *host, int newts, const char *format, ...);
+ const char *host, int newts, const char *format, ...)
+ __attribute__((format(printf, 6, 7)));
extern int user_modes[256];
extern unsigned int find_umode_slot(void);