mirror of
https://github.com/postgres/postgres.git
synced 2025-06-25 01:02:05 +03:00
Add prototypes to supress warnings.
This commit is contained in:
@ -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 *
|
|||||||
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))
|
||||||
|
Reference in New Issue
Block a user