diff options
author | Bruce Momjian <bruce@momjian.us> | 2001-07-11 22:00:57 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2001-07-11 22:00:57 +0000 |
commit | d674b48307d97712a8d5bb49226d8397a778aac5 (patch) | |
tree | 32d875ec21219633ad29b6060fd22b28d6be1333 /src/interfaces/python/pgmodule.c | |
parent | b6564c445e0eed59902d394462be7014f755b294 (diff) | |
download | postgresql-d674b48307d97712a8d5bb49226d8397a778aac5.tar.gz postgresql-d674b48307d97712a8d5bb49226d8397a778aac5.zip |
Add prototypes to supress warnings.
Diffstat (limited to 'src/interfaces/python/pgmodule.c')
-rw-r--r-- | src/interfaces/python/pgmodule.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/interfaces/python/pgmodule.c b/src/interfaces/python/pgmodule.c index 40c8ecc3326..98da3646363 100644 --- a/src/interfaces/python/pgmodule.c +++ b/src/interfaces/python/pgmodule.c @@ -102,6 +102,9 @@ static PyObject *pg_default_passwd; /* default password */ #endif /* DEFAULT_VARS */ +DL_EXPORT(void) init_pg(void); +int *get_type_array(PGresult *result, int nfields); + /* --------------------------------------------------------------------- */ /* OBJECTS DECLARATION */ @@ -476,7 +479,6 @@ static PyObject * pgsource_oidstatus(pgsourceobject * self, PyObject * args) { long oid; - const char *status; /* checks validity */ if (!check_source_obj(self, CHECK_RESULT)) |