You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2011/04/24 00:12:14 UTC

svn commit: r1096246 - /subversion/trunk/subversion/include/svn_wc.h

Author: rhuijben
Date: Sat Apr 23 22:12:14 2011
New Revision: 1096246

URL: http://svn.apache.org/viewvc?rev=1096246&view=rev
Log:
Remove the SVN_DEPRECATED from svn_wc_entry_t, as that gives 9* the number
of #include <svn_wc.h> warnings in our code when building with Visual C++.

SVN_DEPRECATED functions and types will give a deprecation warning when
they refer to deprecated types :(

* subversion/include/svn_wc.h
  (svn_wc_entry_t): Remove SVN_DEPRECATED.
  (svn_wc_entry_dup): Apply a missing SVN_DEPRECATED.

Modified:
    subversion/trunk/subversion/include/svn_wc.h

Modified: subversion/trunk/subversion/include/svn_wc.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_wc.h?rev=1096246&r1=1096245&r2=1096246&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_wc.h (original)
+++ subversion/trunk/subversion/include/svn_wc.h Sat Apr 23 22:12:14 2011
@@ -2653,7 +2653,6 @@ typedef enum svn_wc_schedule_t
  *
  * @deprecated Provided for backward compatibility with the 1.6 API.
  */
-SVN_DEPRECATED
 typedef struct svn_wc_entry_t
 {
   /* IMPORTANT: If you extend this structure, add new fields to the end. */
@@ -2973,7 +2972,10 @@ svn_wc_entries_read(apr_hash_t **entries
 
 /** Return a duplicate of @a entry, allocated in @a pool.  No part of the new
  * entry will be shared with @a entry.
+ *
+ * @deprecated Provided for backward compatibility with the 1.6 API.
  */
+SVN_DEPRECATED
 svn_wc_entry_t *
 svn_wc_entry_dup(const svn_wc_entry_t *entry,
                  apr_pool_t *pool);