From 84cd1ff926e99abd3689729fb008f2bd020ccba1 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Wed, 15 May 2013 22:08:14 -0300 Subject: Fixed Bug #7246 http://hercules.ws/board/tracker/issue-7246-compiling-in-vstudio/ Signed-off-by: shennetsind --- src/common/strlib.c | 2 +- src/common/strlib.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/strlib.c b/src/common/strlib.c index 278542a24..686b2e47d 100644 --- a/src/common/strlib.c +++ b/src/common/strlib.c @@ -991,7 +991,7 @@ bool sv_readdb(const char* directory, const char* filename, char delim, int minc // @author MouseJstr (original) /// Allocates a StringBuf -StringBuf* StringBuf_Malloc() { +StringBuf* StringBuf_Malloc(void) { StringBuf* self; CREATE(self, StringBuf, 1); StrBuf->Init(self); diff --git a/src/common/strlib.h b/src/common/strlib.h index af0fb2764..4a073c3bc 100644 --- a/src/common/strlib.h +++ b/src/common/strlib.h @@ -15,7 +15,7 @@ #ifdef WIN32 #define HAVE_STRTOK_R #define strtok_r(s,delim,save_ptr) _strtok_r((s),(delim),(save_ptr)) - char _strtok_r(char* s1, const char* s2, char** lasts); + char *_strtok_r(char* s1, const char* s2, char** lasts); #endif /// Bitfield determining the behaviour of sv_parse and sv_split. -- cgit v1.2.3-70-g09d2