mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 17:06:33 +03:00
Functions unused outside the module marked static.
This commit is contained in:
parent
cf07af5ff5
commit
92ee893f0f
|
@ -1,3 +1,7 @@
|
|||
2010-11-10 Daniele Varrazzo <daniele.varrazzo@gmail.com>
|
||||
|
||||
* psycopg/green.c: functions unused outside the module marked static.
|
||||
|
||||
2010-11-09 Daniele Varrazzo <daniele.varrazzo@gmail.com>
|
||||
|
||||
* Replaced PyObject_CallFunction() with *ObjArgs() where more efficient.
|
||||
|
|
|
@ -33,8 +33,8 @@
|
|||
|
||||
HIDDEN PyObject *wait_callback = NULL;
|
||||
|
||||
PyObject *have_wait_callback(void);
|
||||
void psyco_clear_result_blocking(connectionObject *conn);
|
||||
static PyObject *have_wait_callback(void);
|
||||
static void psyco_clear_result_blocking(connectionObject *conn);
|
||||
|
||||
/* Register a callback function to block waiting for data.
|
||||
*
|
||||
|
@ -94,7 +94,7 @@ psyco_green()
|
|||
*
|
||||
* The function returns a new reference: decref after use.
|
||||
*/
|
||||
PyObject *
|
||||
static PyObject *
|
||||
have_wait_callback()
|
||||
{
|
||||
PyObject *cb;
|
||||
|
@ -186,7 +186,7 @@ end:
|
|||
* If any command was issued before clearing the result, libpq would fail with
|
||||
* the error "another command is already in progress".
|
||||
*/
|
||||
void
|
||||
static void
|
||||
psyco_clear_result_blocking(connectionObject *conn)
|
||||
{
|
||||
PGresult *res;
|
||||
|
|
Loading…
Reference in New Issue
Block a user