diff options
author | shennetsind <ind@henn.et> | 2013-05-15 22:08:14 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-05-15 22:08:14 -0300 |
commit | 84cd1ff926e99abd3689729fb008f2bd020ccba1 (patch) | |
tree | b4db570f355b3bb8208c9ed0864503101b8f1b08 | |
parent | c7f3f6c2ceae862866a019d0a438d8f965b042c2 (diff) | |
download | hercules-84cd1ff926e99abd3689729fb008f2bd020ccba1.tar.gz hercules-84cd1ff926e99abd3689729fb008f2bd020ccba1.tar.bz2 hercules-84cd1ff926e99abd3689729fb008f2bd020ccba1.tar.xz hercules-84cd1ff926e99abd3689729fb008f2bd020ccba1.zip |
Fixed Bug #7246
http://hercules.ws/board/tracker/issue-7246-compiling-in-vstudio/
Signed-off-by: shennetsind <ind@henn.et>
-rw-r--r-- | src/common/strlib.c | 2 | ||||
-rw-r--r-- | 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. |