From owner-svn-src-head@FreeBSD.ORG Tue Oct 6 19:47:03 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3082F1065672; Tue, 6 Oct 2009 19:47:03 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.mypc.hu (server.mypc.hu [87.229.73.95]) by mx1.freebsd.org (Postfix) with ESMTP id DAE828FC12; Tue, 6 Oct 2009 19:47:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id D3C4C14D97D4; Tue, 6 Oct 2009 21:27:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at example.com Received: from server.mypc.hu ([127.0.0.1]) by localhost (server.mypc.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id m+m63mMSIBTb; Tue, 6 Oct 2009 21:27:33 +0200 (CEST) Received: from [192.168.1.105] (catv-89-132-179-104.catv.broadband.hu [89.132.179.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.mypc.hu (Postfix) with ESMTPSA id 1D67814D97D3; Tue, 6 Oct 2009 21:27:33 +0200 (CEST) Message-ID: <4ACB9A21.10502@FreeBSD.org> Date: Tue, 06 Oct 2009 21:27:29 +0200 From: Gabor Kovesdan User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Robert Watson References: <200910061405.n96E5vsq049153@svn.freebsd.org> In-Reply-To: <200910061405.n96E5vsq049153@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r197804 - in head: include lib/libc/gen X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2009 19:47:03 -0000 Robert Watson escribió: > + > +char * > +basename(path) > + const char *path; > +{ > + static char *bname = NULL; > + > Sorry if it's a trivial question but isn't ANSI prototype preferred over K&R function definition? -- Gabor Kovesdan FreeBSD Volunteer EMAIL: gabor@FreeBSD.org .:|:. gabor@kovesdan.org WEB: http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org