Module Name: src
Committed By: christos
Date: Mon Mar 4 20:01:59 UTC 2019
Modified Files:
src/external/bsd/jemalloc/dist/include/jemalloc/internal: witness.h
Log Message:
use c99 initializers
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/bsd/jemalloc/dist/include/jemalloc/internal/witness.h
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/include/jemalloc/internal/witness.h
diff -u src/external/bsd/jemalloc/dist/include/jemalloc/internal/witness.h:1.1.1.1 src/external/bsd/jemalloc/dist/include/jemalloc/internal/witness.h:1.2
--- src/external/bsd/jemalloc/dist/include/jemalloc/internal/witness.h:1.1.1.1 Mon Mar 4 12:10:23 2019
+++ src/external/bsd/jemalloc/dist/include/jemalloc/internal/witness.h Mon Mar 4 15:01:59 2019
@@ -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