Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Oct 2009 21:27:29 +0200
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        Robert Watson <rwatson@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:  <4ACB9A21.10502@FreeBSD.org>
In-Reply-To: <200910061405.n96E5vsq049153@svn.freebsd.org>
References:  <200910061405.n96E5vsq049153@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ACB9A21.10502>