summaryrefslogtreecommitdiffstats
path: root/src/StringUtils.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-11 21:41:15 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-11 21:41:15 +0100
commit53faac10c50ba88ce540e0464123f388bd7db069 (patch)
treef83b355c6bb76349e47b8b4e8292347534fa94a5 /src/StringUtils.h
parentRollback submodule change (diff)
downloadcuberite-53faac10c50ba88ce540e0464123f388bd7db069.tar
cuberite-53faac10c50ba88ce540e0464123f388bd7db069.tar.gz
cuberite-53faac10c50ba88ce540e0464123f388bd7db069.tar.bz2
cuberite-53faac10c50ba88ce540e0464123f388bd7db069.tar.lz
cuberite-53faac10c50ba88ce540e0464123f388bd7db069.tar.xz
cuberite-53faac10c50ba88ce540e0464123f388bd7db069.tar.zst
cuberite-53faac10c50ba88ce540e0464123f388bd7db069.zip
Diffstat (limited to 'src/StringUtils.h')
-rw-r--r--src/StringUtils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/StringUtils.h b/src/StringUtils.h
index b64108409..a7f22b100 100644
--- a/src/StringUtils.h
+++ b/src/StringUtils.h
@@ -22,13 +22,13 @@ typedef std::list<AString> AStringList;
/** Add the formated string to the existing data in the string */
-extern AString & AppendVPrintf(AString & str, const char * format, va_list args);
+extern AString & AppendVPrintf(AString & str, const char * format, va_list args) FORMATSTRING(2,0);
/// Output the formatted text into the string
-extern AString & Printf (AString & str, const char * format, ...);
+extern AString & Printf (AString & str, const char * format, ...) FORMATSTRING(2,3);
/// Output the formatted text into string, return string by value
-extern AString Printf(const char * format, ...);
+extern AString Printf(const char * format, ...) FORMATSTRING(1,2);
/// Add the formatted string to the existing data in the string
extern AString & AppendPrintf (AString & str, const char * format, ...);