diff -r e9996bd7203f -r 0f4ac3b6dee4 mercurial/cext/parsers.c --- a/mercurial/cext/parsers.c Mon Jul 31 22:28:27 2017 +0900 +++ b/mercurial/cext/parsers.c Sun May 21 14:23:22 2017 +0900 @@ -12,6 +12,7 @@ #include #include +#include "charencode.h" #include "util.h" #include "bitmanipulation.h" @@ -29,12 +30,6 @@ static const char *const versionerrortext = "Python minor version mismatch"; -/* defined in charencode.c */ -PyObject *unhexlify(const char *str, int len); -PyObject *asciilower(PyObject *self, PyObject *args); -PyObject *asciiupper(PyObject *self, PyObject *args); -PyObject *make_file_foldmap(PyObject *self, PyObject *args); - static PyObject *dict_new_presized(PyObject *self, PyObject *args) { Py_ssize_t expected_size;