[dpdk-dev] [PATCH] mem: more const qualifiers in malloc API

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Jul 26 16:41:50 CEST 2013


26/07/2013 16:37, Adrien Mazarguil :
> 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>

pushed

-- 
Thomas


More information about the dev mailing list