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 rename for shadowing



details:   https://anonhg.NetBSD.org/src/rev/262407c45f34
branches:  trunk
changeset: 839708:262407c45f34
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Mar 04 17:15:37 2019 +0000

description:
rename for shadowing

diffstat:

 external/bsd/jemalloc/dist/src/stats.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (17 lines):

diff -r a5b11456dc4d -r 262407c45f34 external/bsd/jemalloc/dist/src/stats.c
--- a/external/bsd/jemalloc/dist/src/stats.c    Mon Mar 04 17:10:22 2019 +0000
+++ b/external/bsd/jemalloc/dist/src/stats.c    Mon Mar 04 17:15:37 2019 +0000
@@ -1008,10 +1008,10 @@
        emitter_kv(emitter, "nbins", "Number of bin size classes",
            emitter_type_unsigned, &nbins);
 
-       unsigned nhbins;
-       CTL_GET("arenas.nhbins", &nhbins, unsigned);
+       unsigned nh_bins;
+       CTL_GET("arenas.nhbins", &nh_bins, unsigned);
        emitter_kv(emitter, "nhbins", "Number of thread-cache bin size classes",
-           emitter_type_unsigned, &nhbins);
+           emitter_type_unsigned, &nh_bins);
 
        /*
         * We do enough mallctls in a loop that we actually want to omit them



Home | Main Index | Thread Index | Old Index