diff --git a/glib/update-pcre/Makefile.am b/glib/update-pcre/Makefile.am index 90014a563..31171ece3 100644 --- a/glib/update-pcre/Makefile.am +++ b/glib/update-pcre/Makefile.am @@ -5,5 +5,4 @@ EXTRA_DIST += \ Makefile.am-1 \ Makefile.am-2 \ digitab.patch \ - memory.patch \ - pcre_valid_utf8.c + memory.patch diff --git a/glib/update-pcre/pcre_valid_utf8.c b/glib/update-pcre/pcre_valid_utf8.c deleted file mode 100644 index b7671a96e..000000000 --- a/glib/update-pcre/pcre_valid_utf8.c +++ /dev/null @@ -1,14 +0,0 @@ -#include "config.h" -#include "pcre_internal.h" - -/* - * This function is not needed by GRegex, so print an error and - * return always -1, that is the string is a valid UTF-8 encoded - * string. - */ -int -_pcre_valid_utf8(const uschar *string, int length) -{ -g_warning ("%s: this function should not be called", G_STRLOC); -return -1; -}