Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Oct 2009 21:21:53 +0100
From:      "Robert N. M. Watson" <rwatson@FreeBSD.org>
To:        Gabor Kovesdan <gabor@FreeBSD.org>
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
Message-ID:  <1A174135-001D-4550-B3E7-84EAA69A2169@FreeBSD.org>
In-Reply-To: <4ACB9A21.10502@FreeBSD.org>
References:  <200910061405.n96E5vsq049153@svn.freebsd.org> <4ACB9A21.10502@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On 6 Oct 2009, at 20:27, Gabor Kovesdan wrote:

> 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?

For the purposes of this purely functional change, I maintained the  
existing style in the file, which was K&R.

Robert


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1A174135-001D-4550-B3E7-84EAA69A2169>