]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_malloc/malloc_heap.h
mem: more const qualifiers in malloc API
[dpdk.git] / lib / librte_malloc / malloc_heap.h
index d9a0b4e6e84a31a0abc7c02803d7d858f89e3585..7878840266fafbb226abc926fb0bc00bc695f001 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