summaryrefslogtreecommitdiff
path: root/plugins/Utils
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Utils')
-rw-r--r--plugins/Utils/mir_buffer.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/plugins/Utils/mir_buffer.h b/plugins/Utils/mir_buffer.h
index 0428b9b969..4c49570175 100644
--- a/plugins/Utils/mir_buffer.h
+++ b/plugins/Utils/mir_buffer.h
@@ -26,25 +26,6 @@ Boston, MA 02111-1307, USA.
#include "mir_memory.h"
#include <m_variables.h>
-
-template<class T>
-static int __bvsnprintf(T *str, size_t size, const T *fmt, va_list args)
-{
- return 0;
-}
-
-template<>
-static inline int __bvsnprintf<char>(char *str, size_t size, const char *fmt, va_list args)
-{
- return _vsnprintf(str, size, fmt, args);
-}
-
-template<>
-static inline int __bvsnprintf<wchar_t>(wchar_t *str, size_t size, const wchar_t *fmt, va_list args)
-{
- return _vsnwprintf(str, size, fmt, args);
-}
-
template<class T>
static inline size_t __blen(const T *str)
{