Probably best to use extern "C" here

Change-Id: I9fac782e29566d3652f9e903ed22abdb6531f883
This commit is contained in:
Tor Lillqvist
2013-10-14 12:04:36 +03:00
parent 4badcfda55
commit ec16bfc22a

View File

@@ -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 );
}