comphelper/source/misc/syntaxhighlight.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ec16bfc22a6d5ee6084a1762ed5cb77886a2fb40 Author: Tor Lillqvist <t...@collabora.com> Date: Mon Oct 14 12:04:36 2013 +0300 Probably best to use extern "C" here Change-Id: I9fac782e29566d3652f9e903ed22abdb6531f883 diff --git a/comphelper/source/misc/syntaxhighlight.cxx b/comphelper/source/misc/syntaxhighlight.cxx index c1f4ca5..1995cd4 100644 --- a/comphelper/source/misc/syntaxhighlight.cxx +++ b/comphelper/source/misc/syntaxhighlight.cxx @@ -224,7 +224,7 @@ static const char* strListSqlKeyWords[] = { }; -static int compare_strings( const void *arg1, const void *arg2 ) +extern "C" int compare_strings( const void *arg1, const void *arg2 ) { return strcmp( (char *)arg1, *(char **)arg2 ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits