subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1326544 - in /subversion/trunk/subversion: include/private/svn_named_atomic.h libsvn_subr/svn_named_atomic.c
Date Mon, 16 Apr 2012 09:58:14 GMT
Author: julianfoad
Date: Mon Apr 16 09:58:14 2012
New Revision: 1326544

URL: http://svn.apache.org/viewvc?rev=1326544&view=rev
Log:
* subversion/include/private/svn_named_atomic.h,
  subversion/libsvn_subr/svn_named_atomic.c
  (svn_named_atomic__is_efficient): Make the declaration into a proper
    prototype by declaring the parameter list as '(void)' instead of '()'.

Modified:
    subversion/trunk/subversion/include/private/svn_named_atomic.h
    subversion/trunk/subversion/libsvn_subr/svn_named_atomic.c

Modified: subversion/trunk/subversion/include/private/svn_named_atomic.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/private/svn_named_atomic.h?rev=1326544&r1=1326543&r2=1326544&view=diff
==============================================================================
--- subversion/trunk/subversion/include/private/svn_named_atomic.h (original)
+++ subversion/trunk/subversion/include/private/svn_named_atomic.h Mon Apr 16 09:58:14 2012
@@ -58,7 +58,7 @@ typedef struct svn_named_atomic__t svn_n
  * as a file system operation.
  */
 svn_boolean_t
-svn_named_atomic__is_efficient();
+svn_named_atomic__is_efficient(void);
 
 /** Create a namespace (i.e. access object) with the given @a name and
  * return it in @a *ns.  If @a name is @c NULL, return the name of the

Modified: subversion/trunk/subversion/libsvn_subr/svn_named_atomic.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/svn_named_atomic.c?rev=1326544&r1=1326543&r2=1326544&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/svn_named_atomic.c (original)
+++ subversion/trunk/subversion/libsvn_subr/svn_named_atomic.c Mon Apr 16 09:58:14 2012
@@ -378,7 +378,7 @@ validate(svn_named_atomic__t *atomic)
 /* Implement API */
 
 svn_boolean_t
-svn_named_atomic__is_efficient()
+svn_named_atomic__is_efficient(void)
 {
   return SYNCHRONIZE_IS_FAST;
 }



Mime
View raw message