From 94d42ad3ba426a1b895fb2ae848d0a4d9546a66e Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 15 Jan 2022 14:52:54 +0000 Subject: Rename CUSTOM_PRINTF to ATTR_PRINTF. ATTR_* matches the naming scheme which will be used for function attributes from now on. Also, redocument it to have a better description and allow Doxygen to parse it. --- src/modules/m_disable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_disable.cpp') diff --git a/src/modules/m_disable.cpp b/src/modules/m_disable.cpp index a49e487ff..76fd0c991 100644 --- a/src/modules/m_disable.cpp +++ b/src/modules/m_disable.cpp @@ -64,7 +64,7 @@ class ModuleDisable final } } - void WriteLog(const char* message, ...) CUSTOM_PRINTF(2, 3) + void WriteLog(const char* message, ...) ATTR_PRINTF(2, 3) { std::string buffer; VAFORMAT(buffer, message, message); -- cgit v1.3.1-10-gc9f91