Kaydet (Commit) a77254a7 authored tarafından Fred Drake's avatar Fred Drake

PyModule_AddStringConstant(): Make this static since it isn't used

                               elsewhere in 1.5.2.
üst c0718eba
#include "Python.h"
#ifdef HAVE_EXPAT_H
#include "expat.h"
#else
#include "xmlparse.h"
#endif
enum HandlerTypes {
StartElement,
......@@ -877,7 +881,7 @@ PyModule_AddObject(PyObject *m, char *name, PyObject *o)
return 0;
}
int
static int
PyModule_AddStringConstant(PyObject *m, char *name, char *value)
{
return PyModule_AddObject(m, name, PyString_FromString(value));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment