Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/jemalloc/dist/src jemalloc: enable lint again, ...



details:   https://anonhg.NetBSD.org/src/rev/d43d195ee04b
branches:  trunk
changeset: 377212:d43d195ee04b
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Jul 01 06:29:14 2023 +0000

description:
jemalloc: enable lint again, it is no longer broken

Since today, lint handles unnamed struct/union correctly.

diffstat:

 external/bsd/jemalloc/dist/src/jemalloc.c |  5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diffs (16 lines):

diff -r 6fd259b7d1bc -r d43d195ee04b external/bsd/jemalloc/dist/src/jemalloc.c
--- a/external/bsd/jemalloc/dist/src/jemalloc.c Sat Jul 01 06:09:24 2023 +0000
+++ b/external/bsd/jemalloc/dist/src/jemalloc.c Sat Jul 01 06:29:14 2023 +0000
@@ -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 {



Home | Main Index | Thread Index | Old Index