Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jun 2011 11:25:13 -0600
From:      "Justin T. Gibbs" <gibbs@FreeBSD.org>
To:        "Andrey V. Elsukov" <ae@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r221397 - in head/sys: kern sys
Message-ID:  <4DF101F9.4020600@FreeBSD.org>
In-Reply-To: <201105031854.p43IsIJ5006816@svn.freebsd.org>
References:  <201105031854.p43IsIJ5006816@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/3/11 12:54 PM, Andrey V. Elsukov wrote:
>  Author: ae
>  Date: Tue May 3 18:54:18 2011
>  New Revision: 221397
>  URL: http://svn.freebsd.org/changeset/base/221397
>
>  Log:
>  Add make_dev_alias_p() function. It is similar to make_dev_alias(),
>  but it may return an error like make_dev_p() does.

Sorry for the late reply on this change.  I noticed it during some recent
merge activity at work where my make_dev_credv() conflicted with your
make_dev_cred_v().

It seems that the existing convention in this file for "function variants"
is to append a single letter to the function name without an underscore
(e.g. make_dev_credv, make_dev_credf).  make_dev_alias_v() and make_dev_p(),
break this convention.  It would be nice to clean up this API so that
the naming conventions are consistent.  So which should it be?  Underscore
or no underscore?

--
Justin




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