]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetindex.C
removed a warning from screen and added CFLAGS in lyx.spec.in.
[lyx.git] / src / insets / insetindex.C
index c47a53bc7226fbcbd81782a7a477846e134313a0..035c3dd51169421205147b166d25d3000b203377 100644 (file)
@@ -9,7 +9,7 @@
 #include FORMS_H_LOCATION  
 #include "insetindex.h"
 #include "buffer.h"
-#include "error.h"
+#include "debug.h"
 #include "LaTeXFeatures.h"
 #include "gettext.h"
 #include "LString.h"
@@ -20,8 +20,7 @@ extern void UpdateInset(Inset* inset, bool mark_dirty = true);
 
 FD_index_form *index_form = 0;
 
-static
-void index_cb(FL_OBJECT *, long data)
+extern "C" void index_cb(FL_OBJECT *, long data)
 {
        InsetIndex *inset = (InsetIndex*)index_form->vdata;