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/3d4a0abd146f
branches:  trunk
changeset: 449345:3d4a0abd146f
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 bccaad198c18 -r 3d4a0abd146f 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