git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mem: more const qualifiers in malloc API
[dpdk.git]
/
lib
/
librte_malloc
/
rte_malloc.h
diff --git
a/lib/librte_malloc/rte_malloc.h
b/lib/librte_malloc/rte_malloc.h
index
348f8eb
..
dc80d72
100644
(file)
--- a/
lib/librte_malloc/rte_malloc.h
+++ b/
lib/librte_malloc/rte_malloc.h
@@
-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.