mem: more const qualifiers in malloc API
[dpdk.git] / lib / librte_malloc / rte_malloc.h
index 348f8eb..dc80d72 100644 (file)
@@ -272,7 +272,7 @@ rte_free(void *ptr);
  *   0 on success
  */
 int
-rte_malloc_validate(void *ptr, size_t *size);
+rte_malloc_validate(const void *ptr, size_t *size);
 
 /**
  * Get heap statistics for the specified heap.