summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEmilio G. Cota2018-09-10 19:43:06 +0200
committerRichard Henderson2018-09-26 17:55:54 +0200
commit6579f10779b5b5ed2e978e7b8cae7bcbf8665254 (patch)
tree5205a4d983f8b57a0851a9fc78e2cc216100bf25 /include
parentqht: constify qht_lookup (diff)
downloadqemu-6579f10779b5b5ed2e978e7b8cae7bcbf8665254.tar.gz
qemu-6579f10779b5b5ed2e978e7b8cae7bcbf8665254.tar.xz
qemu-6579f10779b5b5ed2e978e7b8cae7bcbf8665254.zip
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')
-rw-r--r--include/qemu/qht.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/qht.h b/include/qemu/qht.h
index 2e2d6bca93..758c7ac6c8 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