From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mem: more const qualifiers in malloc API Date: Fri, 26 Jul 2013 16:41:50 +0200 Message-ID: <201307261641.50803.thomas.monjalon@6wind.com> References: <1374847600-25295-1-git-send-email-thomas.monjalon@6wind.com> <20130726143720.GM7849@6wind.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Adrien Mazarguil Return-path: In-Reply-To: <20130726143720.GM7849-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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 > > --- > > > > 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 pushed -- Thomas