subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1464679 - in /subversion/trunk/subversion: libsvn_subr/error.c tests/libsvn_subr/error-code-test.c
Date Thu, 04 Apr 2013 19:08:09 GMT
Author: danielsh
Date: Thu Apr  4 19:08:08 2013
New Revision: 1464679

URL: http://svn.apache.org/r1464679
Log:
Followup to r1464667: note a duplication.

* subversion/libsvn_subr/error.c (struct err_defn),
* subversion/tests/libsvn_subr/error-code-test.c (struct err_defn):
    Cross-reference these to each other.

(We could make SVN_ERROR_BUILD_ARRAY define the type (in the svn_* namespace).)

Modified:
    subversion/trunk/subversion/libsvn_subr/error.c
    subversion/trunk/subversion/tests/libsvn_subr/error-code-test.c

Modified: subversion/trunk/subversion/libsvn_subr/error.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/error.c?rev=1464679&r1=1464678&r2=1464679&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/error.c (original)
+++ subversion/trunk/subversion/libsvn_subr/error.c Thu Apr  4 19:08:08 2013
@@ -630,6 +630,7 @@ svn_err_best_message(svn_error_t *err, c
 
 /* svn_strerror() and helpers */
 
+/* Duplicate of the same typedef in tests/libsvn_subr/error-code-test.c */
 typedef struct err_defn {
   svn_errno_t errcode; /* 160004 */
   const char *errname; /* SVN_ERR_FS_CORRUPT */

Modified: subversion/trunk/subversion/tests/libsvn_subr/error-code-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_subr/error-code-test.c?rev=1464679&r1=1464678&r2=1464679&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_subr/error-code-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_subr/error-code-test.c Thu Apr  4 19:08:08 2013
@@ -27,6 +27,7 @@
 
 #include "svn_error.h"
 
+/* Duplicate of the same typedef in libsvn_subr/error.c */
 typedef struct err_defn {
   svn_errno_t errcode; /* 160004 */
   const char *errname; /* SVN_ERR_FS_CORRUPT */



Mime
View raw message