diff --git a/src/pl/plpython/plpy_main.c b/src/pl/plpython/plpy_main.c index 5f03efa4fb61c4d6c58455c731d0ef4da210e8b0..e2513cf1e05a54b4f209767370e56387d90e708c 100644 --- a/src/pl/plpython/plpy_main.c +++ b/src/pl/plpython/plpy_main.c @@ -123,7 +123,7 @@ _PG_init(void) * This should only be called once from _PG_init. Initialize the Python * interpreter and global data. */ -void +static void PLy_init_interp(void) { static PyObject *PLy_interp_safe_globals = NULL; diff --git a/src/pl/plpython/plpy_plpymodule.c b/src/pl/plpython/plpy_plpymodule.c index b8dc891e3730795eb8add6704d6a83d58002277e..a44b7fbe9a397fc55649b9d874e1b6e288391360 100644 --- a/src/pl/plpython/plpy_plpymodule.c +++ b/src/pl/plpython/plpy_plpymodule.c @@ -273,49 +273,49 @@ PLy_generate_spi_exceptions(PyObject *mod, PyObject *base) */ static PyObject *PLy_output(volatile int, PyObject *, PyObject *); -PyObject * +static PyObject * PLy_debug(PyObject *self, PyObject *args) { return PLy_output(DEBUG2, self, args); } -PyObject * +static PyObject * PLy_log(PyObject *self, PyObject *args) { return PLy_output(LOG, self, args); } -PyObject * +static PyObject * PLy_info(PyObject *self, PyObject *args) { return PLy_output(INFO, self, args); } -PyObject * +static PyObject * PLy_notice(PyObject *self, PyObject *args) { return PLy_output(NOTICE, self, args); } -PyObject * +static PyObject * PLy_warning(PyObject *self, PyObject *args) { return PLy_output(WARNING, self, args); } -PyObject * +static PyObject * PLy_error(PyObject *self, PyObject *args) { return PLy_output(ERROR, self, args); } -PyObject * +static PyObject * PLy_fatal(PyObject *self, PyObject *args) { return PLy_output(FATAL, self, args); } -PyObject * +static PyObject * PLy_quote_literal(PyObject *self, PyObject *args) { const char *str; @@ -332,7 +332,7 @@ PLy_quote_literal(PyObject *self, PyObject *args) return ret; } -PyObject * +static PyObject * PLy_quote_nullable(PyObject *self, PyObject *args) { const char *str; @@ -352,7 +352,7 @@ PLy_quote_nullable(PyObject *self, PyObject *args) return ret; } -PyObject * +static PyObject * PLy_quote_ident(PyObject *self, PyObject *args) { const char *str;