--- a/mercurial/cext/manifest.c Mon Jul 31 22:28:27 2017 +0900
+++ b/mercurial/cext/manifest.c Sun May 21 14:23:22 2017 +0900
@@ -12,6 +12,7 @@
#include <string.h>
#include <stdlib.h>
+#include "charencode.h"
#include "util.h"
#define DEFAULT_LINES 100000
@@ -38,9 +39,6 @@
#define MANIFEST_NOT_SORTED -2
#define MANIFEST_MALFORMED -3
-/* defined in charencode.c */
-PyObject *unhexlify(const char *str, int len);
-
/* get the length of the path for a line */
static size_t pathlen(line *l) {
return strlen(l->start);