You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Greg Stein <gs...@lyra.org> on 2002/04/25 18:10:05 UTC

Re: svn commit: rev 1782 - trunk/subversion/libsvn_delta

On Thu, Apr 25, 2002 at 08:49:33AM -0500, striker@tigris.org wrote:
>...
> +++ trunk/subversion/libsvn_delta/diff_file.c	Thu Apr 25 08:49:31 2002
>...
> +static
> +svn_diff_fns_t svn_diff__file_vtable =
> +{
> +  svn_diff__file_datasource_open,
> +  svn_diff__file_datasource_close,
> +  svn_diff__file_datasource_get_next_token,
> +  svn_diff__file_token_compare,
> +  svn_diff__file_token_discard,
> +  NULL
> +};

eek. This should be const. This further implies that the vtables that you
pass into svn_diff() and svn_diff3() must also be const.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org