[dpdk-dev] [PATCH] mem: more const qualifiers in malloc API
Adrien Mazarguil
adrien.mazarguil at 6wind.com
Fri Jul 26 16:37:20 CEST 2013
On Fri, Jul 26, 2013 at 04:06:40PM +0200, Thomas Monjalon wrote:
> Some functions don't modify their parameter which should be marked as const.
>
> Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
> ---
> lib/librte_malloc/malloc_elem.h | 6 +++---
> lib/librte_malloc/malloc_heap.c | 2 +-
> lib/librte_malloc/malloc_heap.h | 2 +-
> lib/librte_malloc/rte_malloc.c | 4 ++--
> lib/librte_malloc/rte_malloc.h | 2 +-
> 5 files changed, 8 insertions(+), 8 deletions(-)
Acked-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>
--
Adrien Mazarguil
6WIND
More information about the dev
mailing list