cext: mark tuple_format as a constant
Just for clarity.
--- a/mercurial/cext/revlog.c Sat Mar 03 06:18:47 2018 -0500
+++ b/mercurial/cext/revlog.c Sat Mar 03 06:41:52 2018 -0500
@@ -87,9 +87,9 @@
static Py_ssize_t inline_scan(indexObject *self, const char **offsets);
#if LONG_MAX == 0x7fffffffL
-static char *tuple_format = PY23("Kiiiiiis#", "Kiiiiiiy#");
+static const char *const tuple_format = PY23("Kiiiiiis#", "Kiiiiiiy#");
#else
-static char *tuple_format = PY23("kiiiiiis#", "kiiiiiiy#");
+static const char *const tuple_format = PY23("kiiiiiis#", "kiiiiiiy#");
#endif
/* A RevlogNG v1 index entry is 64 bytes long. */