ports/cad/geda/files/patch-gschem_src_x__menus.c
Alexey Dokuchaev e3df77b3ab cad/geda: make the port's code consumable by contemporary compilers
Ensure that there is only one variable definition per each object, as
the C (and C++) standards mandated for years and compilers started to
enforce as of recently (Clang 11, GCC 10).
2023-02-23 13:20:00 +00:00

10 lines
377 B
C

--- gschem/src/x_menus.c.orig 2013-09-25 20:59:27 UTC
+++ gschem/src/x_menus.c
@@ -58,6 +58,7 @@ static GtkItemFactoryEntry popup_items[] = {
{N_("/Up"), NULL, i_callback_hierarchy_up, 0, NULL},
};
+GtkRecentManager *recent_manager;
int npopup_items = sizeof(popup_items) / sizeof(popup_items[0]);
/*! \todo Finish function documentation!!!