projects
/
postgresql
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6564c4
)
Add prototypes to supress warnings.
author
Bruce Momjian
<bruce@momjian.us>
Wed, 11 Jul 2001 22:00:57 +0000
(22:00 +0000)
committer
Bruce Momjian
<bruce@momjian.us>
Wed, 11 Jul 2001 22:00:57 +0000
(22:00 +0000)
src/interfaces/python/pgmodule.c
patch
|
blob
|
history
diff --git
a/src/interfaces/python/pgmodule.c
b/src/interfaces/python/pgmodule.c
index 40c8ecc3326d650136ffdbb9f19083d64bc7740b..98da3646363806849b18896ad5cb0af3c920d23d 100644
(file)
--- a/
src/interfaces/python/pgmodule.c
+++ b/
src/interfaces/python/pgmodule.c
@@
-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))