]> granicus.if.org Git - postgresql/blobdiff - src/pl/plpython/plpy_spi.h
Avoid scan-build warning about uninitialized htonl() arguments.
[postgresql] / src / pl / plpython / plpy_spi.h
index c59482a3f0fcc40a779ea2ca5bc71b62e207e1a8..b0427947ef42541efeb5de33f3cc51f514e2c048 100644 (file)
@@ -8,8 +8,8 @@
 #include "utils/palloc.h"
 #include "utils/resowner.h"
 
-extern PyObject *PLy_spi_prepare(PyObject *, PyObject *);
-extern PyObject *PLy_spi_execute(PyObject *, PyObject *);
+extern PyObject *PLy_spi_prepare(PyObject *self, PyObject *args);
+extern PyObject *PLy_spi_execute(PyObject *self, PyObject *args);
 
 typedef struct PLyExceptionEntry
 {
@@ -22,4 +22,4 @@ extern void PLy_spi_subtransaction_begin(MemoryContext oldcontext, ResourceOwner
 extern void PLy_spi_subtransaction_commit(MemoryContext oldcontext, ResourceOwner oldowner);
 extern void PLy_spi_subtransaction_abort(MemoryContext oldcontext, ResourceOwner oldowner);
 
-#endif /* PLPY_SPI_H */
+#endif   /* PLPY_SPI_H */