From d674b48307d97712a8d5bb49226d8397a778aac5 Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Wed, 11 Jul 2001 22:00:57 +0000 Subject: [PATCH] Add prototypes to supress warnings. --- src/interfaces/python/pgmodule.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)) -- GitLab