void localsettopic(nick *np, channel *cp, char *topic);
void localkickuser(nick *np, channel *cp, nick *target, const char *message);
void localusermodechange(nick *np, channel *cp, char *modes);
-void sendmessagetochannel(nick *source, channel *cp, char *format, ... );
-void sendopnoticetochannel(nick *source, channel *cp, char *format, ... );
-void localinvite(nick *source, channel *cp, nick *target);
+void sendmessagetochannel(nick *source, channel *cp, char *format, ... ) __attribute__ ((format (printf, 3, 4)));
+void sendopnoticetochannel(nick *source, channel *cp, char *format, ... ) __attribute__ ((format (printf, 3, 4)));
+void localinvite(nick *source, chanindex *cip, nick *target);
void localsetmodeinit (modechanges *changes, channel *cp, nick *np);
void localdosetmode_nick (modechanges *changes, nick *target, short modes);