svn commit: r197804 - in head: include lib/libc/gen

Robert N. M. Watson rwatson at FreeBSD.org
Tue Oct 6 20:21:58 UTC 2009


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


More information about the svn-src-head mailing list