diff options
-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. |