]> git.ipfire.org Git - thirdparty/git.git/blobdiff - compat/nedmalloc/malloc.c.h
compat/nedmalloc: Fix some sparse warnings
[thirdparty/git.git] / compat / nedmalloc / malloc.c.h
index 1401a6727414480e181023f8de974bad76a04d24..fdcca82ba7d19f0072938e524d254d91d2b560b3 100644 (file)
@@ -1802,7 +1802,7 @@ struct win32_mlock_t
 
 static MLOCK_T malloc_global_mutex = { 0, 0, 0};
 
-static FORCEINLINE long win32_getcurrentthreadid() {
+static FORCEINLINE long win32_getcurrentthreadid(void) {
 #ifdef _MSC_VER
 #if defined(_M_IX86)
   long *threadstruct=(long *)__readfsdword(0x18);