mem: more const qualifiers in malloc API
[dpdk.git] / lib / librte_malloc / malloc_heap.h
index d9a0b4e..7878840 100644 (file)
@@ -52,7 +52,7 @@ malloc_heap_alloc(struct malloc_heap *heap, const char *type,
                size_t size, unsigned align);
 
 int
-malloc_heap_get_stats(struct malloc_heap *heap,
+malloc_heap_get_stats(const struct malloc_heap *heap,
                struct rte_malloc_socket_stats *socket_stats);
 
 int