Commit d674b483 authored by Bruce Momjian's avatar Bruce Momjian

Add prototypes to supress warnings.

parent b6564c44
...@@ -102,6 +102,9 @@ static PyObject *pg_default_passwd; /* default password */ ...@@ -102,6 +102,9 @@ static PyObject *pg_default_passwd; /* default password */
#endif /* DEFAULT_VARS */ #endif /* DEFAULT_VARS */
DL_EXPORT(void) init_pg(void);
int *get_type_array(PGresult *result, int nfields);
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */
/* OBJECTS DECLARATION */ /* OBJECTS DECLARATION */
...@@ -476,7 +479,6 @@ static PyObject * ...@@ -476,7 +479,6 @@ static PyObject *
pgsource_oidstatus(pgsourceobject * self, PyObject * args) pgsource_oidstatus(pgsourceobject * self, PyObject * args)
{ {
long oid; long oid;
const char *status;
/* checks validity */ /* checks validity */
if (!check_source_obj(self, CHECK_RESULT)) if (!check_source_obj(self, CHECK_RESULT))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment