X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_utils.C;h=8609e7a9a5f237abccd3517390679256ab4c62b5;hb=46787557fb750f22f6febda3fbb9dea0277f18ac;hp=a2a25b6ef410b00dc7f79e3062146da126403914;hpb=27de1486ca34aaad446adb798d71a77d6f6304da;p=lyx.git diff --git a/src/mathed/math_utils.C b/src/mathed/math_utils.C index a2a25b6ef4..8609e7a9a5 100644 --- a/src/mathed/math_utils.C +++ b/src/mathed/math_utils.C @@ -54,7 +54,7 @@ struct binary_op_pair { short id, isrel; } binary_op_table[] = { { LM_ddagger, LMB_OPERATOR } }; -static int compara(const void *a, const void *b) +extern "C" int compara(const void *a, const void *b) { int i = ((binary_op_pair const *)a)->id, j = ((binary_op_pair const*)b)->id; return i - j;