mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Added the const qualifier to char* variables that refer to readonly internal
UTF-8 represenatation of Unicode objects.
This commit is contained in:
parent
a98c4a984b
commit
85b0f5beb1
29 changed files with 60 additions and 61 deletions
|
|
@ -116,7 +116,7 @@ syslog_openlog(PyObject * self, PyObject * args, PyObject *kwds)
|
|||
long facility = LOG_USER;
|
||||
PyObject *new_S_ident_o = NULL;
|
||||
static char *keywords[] = {"ident", "logoption", "facility", 0};
|
||||
char *ident = NULL;
|
||||
const char *ident = NULL;
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds,
|
||||
"|Ull:openlog", keywords, &new_S_ident_o, &logopt, &facility))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue