summaryrefslogtreecommitdiffstats
path: root/Include/sysmodule.h
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-08-25 00:32:45 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-08-25 00:32:45 (GMT)
commitf308132cc29eea9b7fe899deb575d29d607a48f4 (patch)
treede9ecd7856b197aaee7d47d1f321fc545ecc56c1 /Include/sysmodule.h
parentfa06e5f00f3e5f54ad97fbc93a3e9d199dc01fe8 (diff)
downloadcpython-f308132cc29eea9b7fe899deb575d29d607a48f4.zip
cpython-f308132cc29eea9b7fe899deb575d29d607a48f4.tar.gz
cpython-f308132cc29eea9b7fe899deb575d29d607a48f4.tar.bz2
Add const to input string parameters
Diffstat (limited to 'Include/sysmodule.h')
-rw-r--r--Include/sysmodule.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Include/sysmodule.h b/Include/sysmodule.h
index 3ff01bd..8ea7eb1 100644
--- a/Include/sysmodule.h
+++ b/Include/sysmodule.h
@@ -7,10 +7,10 @@
extern "C" {
#endif
-PyAPI_FUNC(PyObject *) PySys_GetObject(char *);
-PyAPI_FUNC(int) PySys_SetObject(char *, PyObject *);
+PyAPI_FUNC(PyObject *) PySys_GetObject(const char *);
+PyAPI_FUNC(int) PySys_SetObject(const char *, PyObject *);
PyAPI_FUNC(void) PySys_SetArgv(int, char **);
-PyAPI_FUNC(void) PySys_SetPath(char *);
+PyAPI_FUNC(void) PySys_SetPath(const char *);
PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...)
Py_GCC_ATTRIBUTE((format(printf, 1, 2)));
@@ -21,7 +21,7 @@ PyAPI_DATA(PyObject *) _PySys_TraceFunc, *_PySys_ProfileFunc;
PyAPI_DATA(int) _PySys_CheckInterval;
PyAPI_FUNC(void) PySys_ResetWarnOptions(void);
-PyAPI_FUNC(void) PySys_AddWarnOption(char *);
+PyAPI_FUNC(void) PySys_AddWarnOption(const char *);
#ifdef __cplusplus
}