diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-20 10:16:47 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-20 10:16:47 +0200 |
commit | 85b0f5beb182cca8b1607accce2caab87ee29835 (patch) | |
tree | 0e55ae3180c2836152ceb4f9689fc7ed1ccb71c5 /Modules/syslogmodule.c | |
parent | a98c4a984b34f887076f4171b1e3303e164cbddf (diff) | |
download | cpython-git-85b0f5beb182cca8b1607accce2caab87ee29835.tar.gz |
Added the const qualifier to char* variables that refer to readonly internal
UTF-8 represenatation of Unicode objects.
Diffstat (limited to 'Modules/syslogmodule.c')
-rw-r--r-- | Modules/syslogmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/syslogmodule.c b/Modules/syslogmodule.c index 7afca58d0e..412e4365e5 100644 --- a/Modules/syslogmodule.c +++ b/Modules/syslogmodule.c @@ -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)) |