diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/Error.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/Error.hxx b/src/util/Error.hxx index 898a8f1c1..803ec002a 100644 --- a/src/util/Error.hxx +++ b/src/util/Error.hxx @@ -151,13 +151,18 @@ public: message.insert(0, prefix); } + gcc_printf(2,3) void FormatPrefix(const char *fmt, ...); void SetErrno(int e); void SetErrno(); void SetErrno(int e, const char *prefix); void SetErrno(const char *prefix); + + gcc_printf(2,3) void FormatErrno(const char *prefix, ...); + + gcc_printf(3,4) void FormatErrno(int e, const char *prefix, ...); #ifdef WIN32 |