summaryrefslogtreecommitdiff
path: root/src/pl/plpython/plpy_plpymodule.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-01-12 16:08:46 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2015-01-12 16:08:46 -0500
commit450d9f2d6669e3c97544de9878611ee2964db29d (patch)
tree0ecc986229068e33e2b03d54b5a4f3a104d1f3f8 /src/pl/plpython/plpy_plpymodule.c
parent4072d91f24681d8d9f0cbdfd58c50ce30f4f1331 (diff)
Fix some functions that were declared static then defined not-static.
Per testing with a compiler that whines about this.
Diffstat (limited to 'src/pl/plpython/plpy_plpymodule.c')
-rw-r--r--src/pl/plpython/plpy_plpymodule.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/pl/plpython/plpy_plpymodule.c b/src/pl/plpython/plpy_plpymodule.c
index 37ea2a490d9..4fc24951994 100644
--- a/src/pl/plpython/plpy_plpymodule.c
+++ b/src/pl/plpython/plpy_plpymodule.c
@@ -274,49 +274,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;
@@ -333,7 +333,7 @@ PLy_quote_literal(PyObject *self, PyObject *args)
return ret;
}
-PyObject *
+static PyObject *
PLy_quote_nullable(PyObject *self, PyObject *args)
{
const char *str;
@@ -353,7 +353,7 @@ PLy_quote_nullable(PyObject *self, PyObject *args)
return ret;
}
-PyObject *
+static PyObject *
PLy_quote_ident(PyObject *self, PyObject *args)
{
const char *str;