]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_gui_misc.C
removed a warning from screen and added CFLAGS in lyx.spec.in.
[lyx.git] / src / lyx_gui_misc.C
index ed3e07f4947a0beb9fb369feb833a13c906ef61b..0260d6d28268d68f4cc8e6a194620435976c01d8 100644 (file)
@@ -70,14 +70,14 @@ extern void TocUpdateCB();
 extern void HideFiguresPopups();
 
 // Prevents LyX from being killed when the close box is pressed in a popup.
-int CancelCloseBoxCB(FL_FORM *, void *)
+extern "C" int CancelCloseBoxCB(FL_FORM *, void *)
 {
        return FL_CANCEL;
 }
 
 
 // Prevents LyX from being killed when the close box is pressed in a popup.
-int IgnoreCloseBoxCB(FL_FORM *, void *)
+extern "C" int IgnoreCloseBoxCB(FL_FORM *, void *)
 {
        return FL_IGNORE;
 }