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/include/jemalloc/internal use c99...
details: https://anonhg.NetBSD.org/src/rev/6478daa8b6fb
branches: trunk
changeset: 449374:6478daa8b6fb
user: christos <christos%NetBSD.org@localhost>
date: Mon Mar 04 20:01:59 2019 +0000
description:
use c99 initializers
diffstat:
external/bsd/jemalloc/dist/include/jemalloc/internal/witness.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r e7b466bda2fb -r 6478daa8b6fb external/bsd/jemalloc/dist/include/jemalloc/internal/witness.h
--- a/external/bsd/jemalloc/dist/include/jemalloc/internal/witness.h Mon Mar 04 20:01:42 2019 +0000
+++ b/external/bsd/jemalloc/dist/include/jemalloc/internal/witness.h Mon Mar 04 20:01:59 2019 +0000
@@ -65,7 +65,13 @@
/* PER-WITNESS DATA */
/******************************************************************************/
#if defined(JEMALLOC_DEBUG)
-# define WITNESS_INITIALIZER(name, rank) {name, rank, NULL, NULL, {NULL, NULL}}
+# define WITNESS_INITIALIZER(_name, _rank) { \
+ .name = _name, \
+ .rank = _rank, \
+ .comp = NULL, \
+ .opaque = NULL, \
+ .link = { .qre_prev = NULL, .qre_next = NULL }, \
+}
#else
# define WITNESS_INITIALIZER(name, rank)
#endif
Home |
Main Index |
Thread Index |
Old Index