From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032541AbXEHWhK (ORCPT ); Tue, 8 May 2007 18:37:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1032538AbXEHWhF (ORCPT ); Tue, 8 May 2007 18:37:05 -0400 Received: from gw.goop.org ([64.81.55.164]:53768 "EHLO mail.goop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1032536AbXEHWhC (ORCPT ); Tue, 8 May 2007 18:37:02 -0400 Message-ID: <4640FB8B.5080406@goop.org> Date: Tue, 08 May 2007 15:36:59 -0700 From: Jeremy Fitzhardinge User-Agent: Thunderbird 1.5.0.10 (X11/20070302) MIME-Version: 1.0 To: Jan Engelhardt CC: Andi Kleen , Andrew Morton , lkml , Chris Wright Subject: Re: [patch 2/4] add argv_split() References: <20070508205129.064843364@goop.org> <20070508205517.142888645@goop.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Jan Engelhardt wrote: > On May 8 2007 13:51, Jeremy Fitzhardinge wrote: > >> + >> +static const char *skip_sep(const char *cp) >> > > These are so simple they could use an 'inline' tag. > I'm sure the compiler can work that out for itself. >> +#ifdef TEST >> > > But not in the end result. > ? >> +int main() { >> + const char *testvec[] = { >> > > Suggesting static const char *const testvec[]. > I guess, but it doesn't matter much. J