Fix extern "C"
This commit is contained in:
parent
d2dc7df061
commit
703d5b96fe
1 changed files with 5 additions and 2 deletions
|
|
@ -73,8 +73,11 @@ void display_mapping(DOH *d) {
|
|||
}
|
||||
}
|
||||
|
||||
extern "C" static int compareByLen(const DOH *f, const DOH *s) {
|
||||
return Len(s) - Len(f);
|
||||
extern "C"
|
||||
{
|
||||
static int compareByLen(const DOH *f, const DOH *s) {
|
||||
return Len(s) - Len(f);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue