summaryrefslogtreecommitdiffstats
path: root/Include/pyerrors.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-10 15:33:34 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-10 15:33:34 (GMT)
commit067998f35ec3013e9a55aad29f0e3dbe4560d11c (patch)
tree482d92ddc8fc1be73bd43d6dcac7f11fc0f4aa58 /Include/pyerrors.h
parent36dd0d27c4916dbe67545d3bcb18df06825fbb26 (diff)
downloadcpython-067998f35ec3013e9a55aad29f0e3dbe4560d11c.zip
cpython-067998f35ec3013e9a55aad29f0e3dbe4560d11c.tar.gz
cpython-067998f35ec3013e9a55aad29f0e3dbe4560d11c.tar.bz2
Add const to error and newstring functions
Diffstat (limited to 'Include/pyerrors.h')
-rw-r--r--Include/pyerrors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h
index 21a4833..51d8e44 100644
--- a/Include/pyerrors.h
+++ b/Include/pyerrors.h
@@ -39,7 +39,7 @@ PERFORMANCE OF THIS SOFTWARE.
void PyErr_SetNone Py_PROTO((PyObject *));
void PyErr_SetObject Py_PROTO((PyObject *, PyObject *));
-void PyErr_SetString Py_PROTO((PyObject *, char *));
+void PyErr_SetString Py_PROTO((PyObject *, const char *));
PyObject *PyErr_Occurred Py_PROTO((void));
void PyErr_Clear Py_PROTO((void));
void PyErr_Fetch Py_PROTO((PyObject **, PyObject **, PyObject **));