mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-16 11:26:59 +08:00
Mark misc static global variables as const
Reviewed-by: Andres Freund Discussion: https://www.postgresql.org/message-id/54c29fb0-edf2-48ea-9814-44e918bbd6e8@iki.fi
This commit is contained in:
@ -27,7 +27,7 @@ static PyObject *PLy_cursor_iternext(PyObject *self);
|
||||
static PyObject *PLy_cursor_fetch(PyObject *self, PyObject *args);
|
||||
static PyObject *PLy_cursor_close(PyObject *self, PyObject *unused);
|
||||
|
||||
static char PLy_cursor_doc[] = "Wrapper around a PostgreSQL cursor";
|
||||
static const char PLy_cursor_doc[] = "Wrapper around a PostgreSQL cursor";
|
||||
|
||||
static PyMethodDef PLy_cursor_methods[] = {
|
||||
{"fetch", PLy_cursor_fetch, METH_VARARGS, NULL},
|
||||
|
||||
Reference in New Issue
Block a user