Module Name: src
Committed By: rillig
Date: Sat Jul 1 06:29:14 UTC 2023
Modified Files:
src/external/bsd/jemalloc/dist/src: jemalloc.c
Log Message:
jemalloc: enable lint again, it is no longer broken
Since today, lint handles unnamed struct/union correctly.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/bsd/jemalloc/dist/src/jemalloc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/jemalloc/dist/src/jemalloc.c
diff -u src/external/bsd/jemalloc/dist/src/jemalloc.c:1.9 src/external/bsd/jemalloc/dist/src/jemalloc.c:1.10
--- src/external/bsd/jemalloc/dist/src/jemalloc.c:1.9 Fri May 15 14:37:21 2020
+++ src/external/bsd/jemalloc/dist/src/jemalloc.c Sat Jul 1 06:29:14 2023
@@ -189,12 +189,7 @@ static const void (WINAPI *init_init_loc
#endif
#endif
#else
-#ifndef __lint__
-// Broken lint
static malloc_mutex_t init_lock = MALLOC_MUTEX_INITIALIZER;
-#else
-static malloc_mutex_t init_lock;
-#endif
#endif
typedef struct {