Add prototypes to supress warnings.

This commit is contained in:
Bruce Momjian 2001-07-11 22:00:57 +00:00
parent b6564c445e
commit d674b48307
1 changed files with 3 additions and 1 deletions

View 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))