mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-28 07:45:00 +00:00
Fix last commit.
src/term.c (tty_menu_show) [WINDOWSNT]: Make tty_menu_show extern only for WINDOWSNT. src/menu.h (tty_menu_show) [WINDOWSNT]: Declare extern only for WINDOWSNT.
This commit is contained in:
parent
5dda54d600
commit
3f2f9b6aff
@ -1,3 +1,9 @@
|
||||
2014-06-07 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* term.c (tty_menu_show) [WINDOWSNT]: Make tty_menu_show extern
|
||||
only for WINDOWSNT.
|
||||
* menu.h (tty_menu_show) [WINDOWSNT]: Declare extern only for WINDOWSNT.
|
||||
|
||||
2014-06-06 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* term.c (tty_menu_show) [!HAVE_NTGUI]: Now static.
|
||||
|
@ -64,9 +64,11 @@ extern Lisp_Object x_menu_show (struct frame *, int, int, int,
|
||||
#ifdef HAVE_NTGUI
|
||||
extern Lisp_Object w32_menu_show (struct frame *, int, int, int,
|
||||
Lisp_Object, const char **);
|
||||
#ifdef WINDOWSNT
|
||||
extern Lisp_Object tty_menu_show (struct frame *, int, int, int,
|
||||
Lisp_Object, const char **);
|
||||
#endif
|
||||
#endif
|
||||
#ifdef HAVE_NS
|
||||
extern Lisp_Object ns_menu_show (struct frame *, int, int, int,
|
||||
Lisp_Object, const char **);
|
||||
|
@ -3582,7 +3582,8 @@ tty_menu_new_item_coords (struct frame *f, int which, int *x, int *y)
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef HAVE_NTGUI
|
||||
/* WINDOWSNT uses this as menu_show_hook, see w32console.c. */
|
||||
#ifndef WINDOWSNT
|
||||
static
|
||||
#endif
|
||||
Lisp_Object
|
||||
|
Loading…
Reference in New Issue
Block a user