On 8/28/06, Malcolm Rowe <malcolm-svn-dev@farside.org.uk> wrote:
> On Mon, Aug 28, 2006 at 01:57:32PM +0530, Kamesh Jayachandran wrote:
> > static function is not supposed to have 'svn_' prefix.
> > We use '__' in function names that is used by other 'C' files
> > within the same library.
> >
> > * subversion/libsvn_diff/diff4.c
> > (svn_diff__adjust): Renamed to _diff_adjust.
> > (svn_diff_diff4): Calls _diff_adjust.
> >
>
> I don't think we use leading underscores anywhere else; why not
> 'diff_adjust' (or even 'adjust_diff', since that presumably is a better
> description of what it's doing).
FWIW, the reason we don't is because any symbol with a leading
underscore is reserved for the C implementation, it's technically
illegal for anything outside the standard library and compiler to use
them.
-garrett
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 28 16:18:01 2006