mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
Issue #25923: Added more const qualifiers to signatures of static and private functions.
This commit is contained in:
parent
2d06e84455
commit
ef1585eb9a
60 changed files with 210 additions and 191 deletions
|
@ -125,7 +125,7 @@ static PyObject * load_args(PyObject ***, int);
|
|||
|
||||
#ifdef LLTRACE
|
||||
static int lltrace;
|
||||
static int prtrace(PyObject *, char *);
|
||||
static int prtrace(PyObject *, const char *);
|
||||
#endif
|
||||
static int call_trace(Py_tracefunc, PyObject *,
|
||||
PyThreadState *, PyFrameObject *,
|
||||
|
@ -4308,7 +4308,7 @@ Error:
|
|||
|
||||
#ifdef LLTRACE
|
||||
static int
|
||||
prtrace(PyObject *v, char *str)
|
||||
prtrace(PyObject *v, const char *str)
|
||||
{
|
||||
printf("%s ", str);
|
||||
if (PyObject_Print(v, stdout, 0) != 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue