From 58385dd458e927994957b6d603f7f9da3fc52e14 Mon Sep 17 00:00:00 2001 From: aquanight Date: Sun, 30 Mar 2008 02:48:54 +0000 Subject: Commit -Wformat=2 -Wmissing-format-attributes, printf-like functions in inspircd now get treated like printf (meaning compile-time check goodness) in GCC git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9217 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/snomasks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/snomasks.h') diff --git a/include/snomasks.h b/include/snomasks.h index 9541715e3..6e3f75d7a 100644 --- a/include/snomasks.h +++ b/include/snomasks.h @@ -100,7 +100,7 @@ class CoreExport SnomaskManager : public Extensible * @param text A format string containing text to send * @param ... Format arguments */ - void WriteToSnoMask(char letter, const char* text, ...); + void WriteToSnoMask(char letter, const char* text, ...) CUSTOM_PRINTF(3, 4); /** Called once per 5 seconds from the mainloop, this flushes any cached * snotices. The way the caching works is as follows: -- cgit v1.2.3