Checkout
peters
committed
on 28 Dec 10
Stop using svn_error__locate in the public ABI.
We can't delete it from the ABI, but we can at least do this much.

* subversion/include/svn… Show more
Stop using svn_error__locate in the public ABI.

We can't delete it from the ABI, but we can at least do this much.

* subversion/include/svn_error.h

 (svn_error__locate): Move this prototype, and the four macros that

  call it, into an #ifdef SVN_DEBUG section.  No public API change.

* subversion/libsvn_subr/error.c

 (error_file, error_line): Move to an #ifdef SVN_DEBUG section.

 (svn_error__locate): Do nothing unless SVN_DEBUG.

 (make_error_internal): Only set ->file and ->line if SVN_DEBUG.

  As svn_types.h says, these are "Only used iff @c SVN_DEBUG."

Show less