]> granicus.if.org Git - postgresql/commitdiff
Add prototypes to supress warnings.
authorBruce Momjian <bruce@momjian.us>
Wed, 11 Jul 2001 22:00:57 +0000 (22:00 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 11 Jul 2001 22:00:57 +0000 (22:00 +0000)
src/interfaces/python/pgmodule.c

index 40c8ecc3326d650136ffdbb9f19083d64bc7740b..98da3646363806849b18896ad5cb0af3c920d23d 100644 (file)
@@ -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))