[vlc-devel] commit: Sql: Rollback should return void (Srikanth Raju )

git version control git at videolan.org
Sat Nov 28 10:55:29 CET 2009


vlc | branch: master | Srikanth Raju <srikiraju at gmail.com> | Thu Nov 26 08:39:45 2009 +0530| [2aa8e5b6df96c9cd40dece76fb1774b16409e1d8] | committer: Rémi Denis-Courmont 

Sql: Rollback should return void

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2aa8e5b6df96c9cd40dece76fb1774b16409e1d8
---

 include/vlc_sql.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/vlc_sql.h b/include/vlc_sql.h
index 3b123a9..ad325f5 100644
--- a/include/vlc_sql.h
+++ b/include/vlc_sql.h
@@ -110,7 +110,7 @@ struct sql_t
     int (*pf_commit) ( sql_t* );
 
     /** Rollback transaction */
-    int (*pf_rollback) ( sql_t* );
+    void (*pf_rollback) ( sql_t* );
 
     /** Create a statement object */
     sql_stmt_t* (*pf_prepare) ( sql_t* p_sql, const char* p_fmt,
@@ -295,7 +295,7 @@ static inline int sql_CommitTransaction( sql_t *p_sql )
  * @return VLC error code or success
  * @note This function is threadsafe
  **/
-static inline int sql_RollbackTransaction( sql_t *p_sql )
+static inline void sql_RollbackTransaction( sql_t *p_sql )
 {
     return p_sql->pf_rollback( p_sql );
 }




More information about the vlc-devel mailing list