[Python-checkins] CVS: python/dist/src/Modules pyexpat.c,2.26,2.27
Fred L. Drake
python-dev@python.org
Fri, 29 Sep 2000 12:23:32 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv20937/Modules
Modified Files:
pyexpat.c
Log Message:
PyModule_AddStringConstant(): Make this static since it isn't used
elsewhere in 1.5.2.
Index: pyexpat.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/pyexpat.c,v
retrieving revision 2.26
retrieving revision 2.27
diff -C2 -r2.26 -r2.27
*** pyexpat.c 2000/09/29 19:05:48 2.26
--- pyexpat.c 2000/09/29 19:23:29 2.27
***************
*** 1,4 ****
--- 1,8 ----
#include "Python.h"
+ #ifdef HAVE_EXPAT_H
+ #include "expat.h"
+ #else
#include "xmlparse.h"
+ #endif
enum HandlerTypes {
***************
*** 878,882 ****
}
! int
PyModule_AddStringConstant(PyObject *m, char *name, char *value)
{
--- 882,886 ----
}
! static int
PyModule_AddStringConstant(PyObject *m, char *name, char *value)
{