Probably best to use extern "C" here
Change-Id: I9fac782e29566d3652f9e903ed22abdb6531f883
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
Reference in New Issue
Block a user