diff options
Diffstat (limited to 'protocols/IcqOscarJ/src/utilities.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/utilities.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/protocols/IcqOscarJ/src/utilities.cpp b/protocols/IcqOscarJ/src/utilities.cpp index 9d8aa40321..a3fb13398c 100644 --- a/protocols/IcqOscarJ/src/utilities.cpp +++ b/protocols/IcqOscarJ/src/utilities.cpp @@ -688,31 +688,6 @@ char* __fastcall strstrnull(const char *str, const char *substr) return NULL;
}
-int null_snprintf(char *buffer, size_t count, const char *fmt, ...)
-{
- va_list va;
- int len;
-
- ZeroMemory(buffer, count);
- va_start(va, fmt);
- len = _vsnprintf(buffer, count-1, fmt, va);
- va_end(va);
- return len;
-}
-
-int null_snprintf(WCHAR *buffer, size_t count, const WCHAR *fmt, ...)
-{
- va_list va;
- int len;
-
- ZeroMemory(buffer, count * sizeof(WCHAR));
- va_start(va, fmt);
- len = _vsnwprintf(buffer, count, fmt, va);
- va_end(va);
- return len;
-}
-
-
char* __fastcall null_strdup(const char *string)
{
if (string)
|