mem: more const qualifiers in malloc API
authorThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 12 Jul 2013 10:12:15 +0000 (12:12 +0200)
committerDavid Marchand <david.marchand@6wind.com>
Wed, 26 Feb 2014 10:07:27 +0000 (11:07 +0100)
commit2609f702241c2bccf2671bfa6a9d6697ee0d6dd6
treee599f5b7dcf26250dfafa6e425946e2c3cd08b63
parent57c24af85d9eaa81549a212169605b4e2468a29f
mem: more const qualifiers in malloc API

Some functions don't modify their parameter which should be marked as const.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
lib/librte_malloc/malloc_elem.h
lib/librte_malloc/malloc_heap.c
lib/librte_malloc/malloc_heap.h
lib/librte_malloc/rte_malloc.c
lib/librte_malloc/rte_malloc.h