svn commit: r1925693 - /subversion/branches/patch-from-stream/subversion/libsvn_subr/stream.c

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <[email protected]>
Author: brane
Date: Mon May 19 06:59:34 2025
New Revision: 1925693

URL: http://svn.apache.org/viewvc?rev=1925693&view=rev
Log:
Don't bother putting new members at the end of a private struct.

* subversion/libsvn_subr/stream.c
  (svn_stream_t): Put span_fn in its logical place instead of at
   the end of the struct which users of the streams API don't have
   access to anyway.

Modified:
    subversion/branches/patch-from-stream/subversion/libsvn_subr/stream.c

Modified: subversion/branches/patch-from-stream/subversion/libsvn_subr/stream.c
URL: http://svn.apache.org/viewvc/subversion/branches/patch-from-stream/subversion/libsvn_subr/stream.c?rev=1925693&r1=1925692&r2=1925693&view=diff
==============================================================================
--- subversion/branches/patch-from-stream/subversion/libsvn_subr/stream.c (original)
+++ subversion/branches/patch-from-stream/subversion/libsvn_subr/stream.c Mon May 19 06:59:34 2025
@@ -60,10 +60,10 @@ struct svn_stream_t {
   svn_close_fn_t close_fn;
   svn_stream_mark_fn_t mark_fn;
   svn_stream_seek_fn_t seek_fn;
+  svn_stream_span_fn_t span_fn;
   svn_stream_data_available_fn_t data_available_fn;
   svn_stream_readline_fn_t readline_fn;
   apr_file_t *file; /* Maybe NULL */
-  svn_stream_span_fn_t span_fn;
 };
 
 
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.