From 226ed5a92baa7c1ced4b32bc24911091f3cf85d9 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 21 Jun 2006 13:08:54 +0000 Subject: Fix for bug 1508641. --- src/PropSet.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/PropSet.cxx') diff --git a/src/PropSet.cxx b/src/PropSet.cxx index b4011a04c..c563d2bed 100644 --- a/src/PropSet.cxx +++ b/src/PropSet.cxx @@ -825,12 +825,12 @@ void WordList::SetFromAllocated() { memcpy(wordsNoCase, words, (len + 1) * sizeof (*words)); } -int cmpString(const void *a1, const void *a2) { +extern "C" int cmpString(const void *a1, const void *a2) { // Can't work out the correct incantation to use modern casts here return strcmp(*(char**)(a1), *(char**)(a2)); } -int cmpStringNoCase(const void *a1, const void *a2) { +extern "C" int cmpStringNoCase(const void *a1, const void *a2) { // Can't work out the correct incantation to use modern casts here return CompareCaseInsensitive(*(char**)(a1), *(char**)(a2)); } -- cgit v1.2.3