[Python-checkins] CVS: python/dist/src/Objects abstract.c,2.39,2.40
Fred L. Drake
python-dev@python.org
Sat, 8 Jul 2000 21:34:15 -0700
Update of /cvsroot/python/python/dist/src/Objects
In directory slayer.i.sourceforge.net:/tmp/cvs-serv20473
Modified Files:
abstract.c
Log Message:
type_error(): Added "const" to signature to eliminate warning with -Wall.
Index: abstract.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/abstract.c,v
retrieving revision 2.39
retrieving revision 2.40
diff -C2 -r2.39 -r2.40
*** abstract.c 2000/07/09 04:06:11 2.39
--- abstract.c 2000/07/09 04:34:13 2.40
***************
*** 17,21 ****
static PyObject *
! type_error(char *msg)
{
PyErr_SetString(PyExc_TypeError, msg);
--- 17,21 ----
static PyObject *
! type_error(const char *msg)
{
PyErr_SetString(PyExc_TypeError, msg);