Commit 3f2f9b6a authored by Eli Zaretskii's avatar Eli Zaretskii

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.
parent 5dda54d6
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment