mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-25 03:32:12 +01:00
glib/pcre/pcre_ucp_search_funcs.c, glib/pcre/pcre_valid_utf8.c: add back missing config.h includes, and this time add them to the copies in glib/update-pcre/ too so they don't get lost again on the next PCRE update. glib/garray.c, glib/gbase64.c: fix signed/unsigned pointer casts gio/xdgmime/xdgmimeglob.c: remove unused variable gio/tests/live-g-file.c: fix printf args on x86_64 tests/Makefile.am, tests/regex-test.c: remove redundant -DENABLE_REGEX
15 lines
329 B
C
15 lines
329 B
C
#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;
|
|
}
|