@@ -57,8 +57,9 @@ static const char * const begin_statements[] = {
5757static int pysqlite_connection_set_isolation_level (pysqlite_Connection * self , PyObject * isolation_level , void * Py_UNUSED (ignored ));
5858static void _pysqlite_drop_unused_cursor_references (pysqlite_Connection * self );
5959
60-
61- int pysqlite_connection_init (pysqlite_Connection * self , PyObject * args , PyObject * kwargs )
60+ static int
61+ pysqlite_connection_init (pysqlite_Connection * self , PyObject * args ,
62+ PyObject * kwargs )
6263{
6364 static char * kwlist [] = {
6465 "database" , "timeout" , "detect_types" , "isolation_level" ,
@@ -193,7 +194,9 @@ int pysqlite_connection_init(pysqlite_Connection* self, PyObject* args, PyObject
193194}
194195
195196/* action in (ACTION_RESET, ACTION_FINALIZE) */
196- void pysqlite_do_all_statements (pysqlite_Connection * self , int action , int reset_cursors )
197+ static void
198+ pysqlite_do_all_statements (pysqlite_Connection * self , int action ,
199+ int reset_cursors )
197200{
198201 int i ;
199202 PyObject * weakref ;
@@ -225,7 +228,8 @@ void pysqlite_do_all_statements(pysqlite_Connection* self, int action, int reset
225228 }
226229}
227230
228- void pysqlite_connection_dealloc (pysqlite_Connection * self )
231+ static void
232+ pysqlite_connection_dealloc (pysqlite_Connection * self )
229233{
230234 PyTypeObject * tp = Py_TYPE (self );
231235
@@ -546,7 +550,9 @@ _pysqlite_set_result(sqlite3_context* context, PyObject* py_val)
546550 return 0 ;
547551}
548552
549- PyObject * _pysqlite_build_py_params (sqlite3_context * context , int argc , sqlite3_value * * argv )
553+ static PyObject *
554+ _pysqlite_build_py_params (sqlite3_context * context , int argc ,
555+ sqlite3_value * * argv )
550556{
551557 PyObject * args ;
552558 int i ;
@@ -1288,7 +1294,9 @@ pysqlite_connection_set_isolation_level(pysqlite_Connection* self, PyObject* iso
12881294 return 0 ;
12891295}
12901296
1291- PyObject * pysqlite_connection_call (pysqlite_Connection * self , PyObject * args , PyObject * kwargs )
1297+ static PyObject *
1298+ pysqlite_connection_call (pysqlite_Connection * self , PyObject * args ,
1299+ PyObject * kwargs )
12921300{
12931301 PyObject * sql ;
12941302 pysqlite_Statement * statement ;
0 commit comments