mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
lwlib: pacify gcc -Wmissing-variable-declarations
* lwlib/lwlib.c (lwlib_toolkit_type): Remove unused var. * lwlib/xlwmenu.c (submenu_destroyed): Now static. * src/xmenu.c (widget_id_tick): Declare extern, as a FIXME.
This commit is contained in:
parent
cd7dd3e675
commit
ce660c5c30
@ -61,12 +61,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
|
||||
static widget_info*
|
||||
all_widget_info = NULL;
|
||||
|
||||
#ifdef USE_MOTIF
|
||||
const char *lwlib_toolkit_type = "motif";
|
||||
#else
|
||||
const char *lwlib_toolkit_type = "lucid";
|
||||
#endif
|
||||
|
||||
static widget_value *merge_widget_value (widget_value *,
|
||||
widget_value *,
|
||||
int, int *);
|
||||
|
@ -248,7 +248,7 @@ XlwMenuClassRec xlwMenuClassRec =
|
||||
|
||||
WidgetClass xlwMenuWidgetClass = (WidgetClass) &xlwMenuClassRec;
|
||||
|
||||
int submenu_destroyed;
|
||||
static int submenu_destroyed;
|
||||
|
||||
static int next_release_must_exit;
|
||||
|
||||
|
@ -1607,6 +1607,7 @@ create_and_show_popup_menu (struct frame *f, widget_value *first_wv,
|
||||
|
||||
For menu bars, we use numbers starting at 0, counted in
|
||||
next_menubar_widget_id. */
|
||||
extern LWLIB_ID widget_id_tick; /* FIXME: Move this to a .h file. */
|
||||
LWLIB_ID widget_id_tick;
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user