aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_disable.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-01-15 14:52:54 +0000
committerGravatar Sadie Powell2022-01-15 15:15:42 +0000
commit94d42ad3ba426a1b895fb2ae848d0a4d9546a66e (patch)
tree3c3a0def21d0c78c75ef6ca1faec47efe03f7c1f /src/modules/m_disable.cpp
parentMerge branch 'insp3' into master. (diff)
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.
Diffstat (limited to 'src/modules/m_disable.cpp')
-rw-r--r--src/modules/m_disable.cpp2
1 files changed, 1 insertions, 1 deletions
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);