summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
Diffstat (limited to 'fluid')
-rw-r--r--fluid/Fl_Menu_Type.cxx4
-rw-r--r--fluid/Fl_Widget_Type.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/fluid/Fl_Menu_Type.cxx b/fluid/Fl_Menu_Type.cxx
index 8d41c3ca1..a023e9db9 100644
--- a/fluid/Fl_Menu_Type.cxx
+++ b/fluid/Fl_Menu_Type.cxx
@@ -187,7 +187,7 @@ void Fl_Menu_Item_Type::write_static() {
const char* cn = callback_name();
const char* k = class_name(1);
if (k) {
- write_c("\ninline void %s::%s_i(Fl_Menu_*", k, cn);
+ write_c("\nvoid %s::%s_i(Fl_Menu_*", k, cn);
} else {
write_c("\nstatic void %s(Fl_Menu_*", cn);
}
@@ -343,7 +343,7 @@ void Fl_Menu_Item_Type::write_code1() {
const char* cn = callback_name();
const char* ut = user_data_type() ? user_data_type() : "void*";
write_public(0);
- write_h(" inline void %s_i(Fl_Menu_*, %s);\n", cn, ut);
+ write_h(" void %s_i(Fl_Menu_*, %s);\n", cn, ut);
write_h(" static void %s(Fl_Menu_*, %s);\n", cn, ut);
}
}
diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx
index 965afeeaa..da406eff9 100644
--- a/fluid/Fl_Widget_Type.cxx
+++ b/fluid/Fl_Widget_Type.cxx
@@ -1475,7 +1475,7 @@ void Fl_Widget_Type::write_static() {
}
const char* cn = callback_name();
if (k) {
- write_c("\ninline void %s::%s_i(%s*", k, cn, t);
+ write_c("\nvoid %s::%s_i(%s*", k, cn, t);
} else {
write_c("\nstatic void %s(%s*", cn, t);
}
@@ -1535,7 +1535,7 @@ void Fl_Widget_Type::write_code1() {
const char* cn = callback_name();
const char* ut = user_data_type() ? user_data_type() : "void*";
write_public(0);
- write_h(" inline void %s_i(%s*, %s);\n", cn, t, ut);
+ write_h(" void %s_i(%s*, %s);\n", cn, t, ut);
write_h(" static void %s(%s*, %s);\n", cn, t, ut);
}
// figure out if local varaible will be used (prevent compiler warnings):