commit 86f2904858d77ac01093be1222560a2cdb921161
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Wed Jul 16 15:13:14 2025 +0200
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Wed Jul 16 15:13:14 2025 +0200
Remove warnings triggered by -Wredundant-decls (#1277)
FL/Fl_Menu_Item.H | 3 +--
src/Fl_Image.cxx | 2 --
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git FL/Fl_Menu_Item.H FL/Fl_Menu_Item.H
index f0cd49e..09b9e02 100644
--- FL/Fl_Menu_Item.H
+++ FL/Fl_Menu_Item.H
@@ -21,6 +21,7 @@
#include <FL/Fl_Image.H>
#include <FL/Fl_Multi_Label.H>
#include <FL/platform_types.h> // for FL_COMMAND and FL_CONTROL
+#include <FL/fl_draw.H>
// doxygen needs the following line to enable e.g. ::FL_MENU_TOGGLE to link to the enums
/// @file
@@ -39,8 +40,6 @@ enum { // values for flags:
///< Note: \b ALL other bits in \p flags are reserved: do not use them for your own purposes!
};
-extern FL_EXPORT Fl_Shortcut fl_old_shortcut(const char*);
-
class Fl_Menu_;
/**
diff --git src/Fl_Image.cxx src/Fl_Image.cxx
index ffdb1c7..ff5a267 100644
--- src/Fl_Image.cxx
+++ src/Fl_Image.cxx
@@ -24,8 +24,6 @@
#include <stdlib.h>
-void fl_restore_clip(); // from fl_rect.cxx
-
//
// Base image class...
//
[ Direct Link to Message ]