diff options
author | Emilio G. Cota <cota@braap.org> | 2018-09-10 13:43:06 -0400 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2018-09-26 08:55:54 -0700 |
commit | 6579f10779b5b5ed2e978e7b8cae7bcbf8665254 (patch) | |
tree | 5205a4d983f8b57a0851a9fc78e2cc216100bf25 /include/qemu/qht.h | |
parent | e6c58299502fb94e329b7a35a12feacde6c1cbc6 (diff) | |
download | qemu-6579f10779b5b5ed2e978e7b8cae7bcbf8665254.zip qemu-6579f10779b5b5ed2e978e7b8cae7bcbf8665254.tar.gz qemu-6579f10779b5b5ed2e978e7b8cae7bcbf8665254.tar.bz2 |
qht: constify qht_statistics_init
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/qemu/qht.h')
-rw-r--r-- | include/qemu/qht.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/qht.h b/include/qemu/qht.h index 2e2d6bc..758c7ac 100644 --- a/include/qemu/qht.h +++ b/include/qemu/qht.h @@ -211,7 +211,7 @@ void qht_iter_remove(struct qht *ht, qht_iter_bool_func_t func, void *userp); * When done with @stats, pass the struct to qht_statistics_destroy(). * Failing to do this will leak memory. */ -void qht_statistics_init(struct qht *ht, struct qht_stats *stats); +void qht_statistics_init(const struct qht *ht, struct qht_stats *stats); /** * qht_statistics_destroy - Destroy a &struct qht_stats |