]> git.lyx.org Git - features.git/blobdiff - src/bmtable.C
A bunch of obvious changes to please strict ansi compilers. Not finished.
[features.git] / src / bmtable.C
index a479397a48a0bca0290ac198fe442b2f9b3bd636..bf0b0f9842f1cb556c9d84fda907c5475902d0b2 100644 (file)
@@ -32,8 +32,8 @@ typedef struct   {
 } BMTABLE_SPEC;
                  
 
-static int handle_bitmaptable(FL_OBJECT *ob, int event, FL_Coord mx, 
-                             FL_Coord my, int key, void *xev);
+extern "C" int handle_bitmaptable(FL_OBJECT *ob, int event, FL_Coord mx, 
+                                 FL_Coord my, int key, void *xev);
 
 
 FL_OBJECT *fl_create_bmtable(int type, FL_Coord x, FL_Coord y, 
@@ -165,8 +165,8 @@ static void draw_bitmaptable(FL_OBJECT *ob)
 }
 
 
-static int handle_bitmaptable(FL_OBJECT *ob, int event, FL_Coord mx, 
-                             FL_Coord my, int key, void */*xev*/)
+extern "C" int handle_bitmaptable(FL_OBJECT *ob, int event, FL_Coord mx, 
+                                 FL_Coord my, int key, void */*xev*/)
 {
        int i, j;
        BMTABLE_SPEC *sp = (BMTABLE_SPEC *)ob->spec;