From 86f2904858d77ac01093be1222560a2cdb921161 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 16 Jul 2025 15:13:14 +0200 Subject: 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 a/FL/Fl_Menu_Item.H b/FL/Fl_Menu_Item.H index f0cd49e9b..09b9e0206 100644 --- a/FL/Fl_Menu_Item.H +++ b/FL/Fl_Menu_Item.H @@ -21,6 +21,7 @@ #include #include #include // for FL_COMMAND and FL_CONTROL +#include // 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 a/src/Fl_Image.cxx b/src/Fl_Image.cxx index ffdb1c7f7..ff5a2671a 100644 --- a/src/Fl_Image.cxx +++ b/src/Fl_Image.cxx @@ -24,8 +24,6 @@ #include -void fl_restore_clip(); // from fl_rect.cxx - // // Base image class... // -- cgit v1.2.3