diff options
Diffstat (limited to 'src/PropSet.cxx')
| -rw-r--r-- | src/PropSet.cxx | 4 | 
1 files changed, 2 insertions, 2 deletions
| 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));  } | 
