FLTK logo

[master] 86f2904 - Remove warnings triggered by -Wredundant-decls (#1277)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Library      Forums      Links      Apps     Login 
[  All Forums  |  Back to fltk.commit  ]
 
[ Previous Message ] [ Next Message ]

[master] 86f2904 - Remove warnings triggered by -Wredundant-decls (#1277) "ManoloFLTK" Jul 16, 2025  
 
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 ]
 
     
[ Previous Message ] [ Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2026 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.