Skip to content
Snippets Groups Projects
Commit d674b483 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Add prototypes to supress warnings.

parent b6564c44
Branches
Tags
No related merge requests found
...@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment