Re: [for-next][PATCH 23/24] string.h: Add strncmp_prefix() helper macro
From: Steven Rostedt
Date: Fri Dec 21 2018 - 16:08:32 EST
On Fri, 21 Dec 2018 21:58:32 +0100
Andreas Schwab <schwab@xxxxxxxxxxxxxx> wrote:
> > Well, perhaps I can just remove the ending ones. I get paranoid with
> > macro variables, and tend to over do it so that there's no question.
>
> Why not make it an inline function?
Matters if that removes the strlen(const) optimization. I could try it
and see what happens.
-- Steve