From: Bruce Momjian Date: Wed, 11 Jul 2001 22:00:57 +0000 (+0000) Subject: Add prototypes to supress warnings. X-Git-Tag: REL7_2_BETA1~872 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d674b48307d97712a8d5bb49226d8397a778aac5;p=postgresql Add prototypes to supress warnings. --- diff --git a/src/interfaces/python/pgmodule.c b/src/interfaces/python/pgmodule.c index 40c8ecc332..98da364636 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))