subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1558473 - in /subversion/trunk/subversion: include/private/svn_sqlite.h libsvn_subr/sqlite.c
Date Wed, 15 Jan 2014 17:17:21 GMT
Author: rhuijben
Date: Wed Jan 15 17:17:21 2014
New Revision: 1558473

URL: http://svn.apache.org/r1558473
Log:
Make gcc happy by decaring a function with an explicit void argument.

* subversion/include/private/svn_sqlite.h
  (svn_sqlite__dbg_enable_errorlog): Update prototype.

* subversion/libsvn_subr/sqlite.c
  (svn_sqlite__dbg_enable_errorlog): Update prototype.

Modified:
    subversion/trunk/subversion/include/private/svn_sqlite.h
    subversion/trunk/subversion/libsvn_subr/sqlite.c

Modified: subversion/trunk/subversion/include/private/svn_sqlite.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/private/svn_sqlite.h?rev=1558473&r1=1558472&r2=1558473&view=diff
==============================================================================
--- subversion/trunk/subversion/include/private/svn_sqlite.h (original)
+++ subversion/trunk/subversion/include/private/svn_sqlite.h Wed Jan 15 17:17:21 2014
@@ -348,7 +348,7 @@ svn_sqlite__column_bytes(svn_sqlite__stm
 /* When Subversion is compiled in maintainer mode: enables the sqlite error
    logging to stderr. */
 void
-svn_sqlite__dbg_enable_errorlog();
+svn_sqlite__dbg_enable_errorlog(void);
 
 
 /* --------------------------------------------------------------------- */

Modified: subversion/trunk/subversion/libsvn_subr/sqlite.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/sqlite.c?rev=1558473&r1=1558472&r2=1558473&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/sqlite.c (original)
+++ subversion/trunk/subversion/libsvn_subr/sqlite.c Wed Jan 15 17:17:21 2014
@@ -118,7 +118,7 @@ sqlite_error_log(void* baton, int err, c
 #endif
 
 void
-svn_sqlite__dbg_enable_errorlog()
+svn_sqlite__dbg_enable_errorlog(void)
 {
 #if defined(SVN_DEBUG) && defined(SQLITE_CONFIG_LOG)
   sqlite3_config(SQLITE_CONFIG_LOG, sqlite_error_log, (void*)NULL /* baton */);



Mime
View raw message