Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d674b48

Browse files
committed
Add prototypes to supress warnings.
1 parent b6564c4 commit d674b48

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/interfaces/python/pgmodule.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ static PyObject *pg_default_passwd; /* default password */
102102

103103
#endif /* DEFAULT_VARS */
104104

105+
DL_EXPORT(void) init_pg(void);
106+
int *get_type_array(PGresult *result, int nfields);
107+
105108
/* --------------------------------------------------------------------- */
106109
/* OBJECTS DECLARATION */
107110

@@ -476,7 +479,6 @@ static PyObject *
476479
pgsource_oidstatus(pgsourceobject * self, PyObject * args)
477480
{
478481
long oid;
479-
const char *status;
480482

481483
/* checks validity */
482484
if (!check_source_obj(self, CHECK_RESULT))

0 commit comments

Comments
 (0)