* xterm.h (x_menu_wait_for_event): Declare only if USE_MOTIF.
2011-04-14 Paul Eggert <eggert@cs.ucla.edu>
+ * xmenu.c (x_menu_wait_for_event): Export only if USE_MOTIF.
+ * xterm.h (x_menu_wait_for_event): Declare only if USE_MOTIF.
+
* xdisp.c (draw_row_with_mouse_face): Now static.
* dispextern.h (draw_row_with_mouse_fave): Remove decl.
/* Wait for an X event to arrive or for a timer to expire. */
+#ifndef USE_MOTIF
+static
+#endif
void
x_menu_wait_for_event (void *data)
{
/* Defined in xmenu.c */
extern void x_menu_set_in_use (int);
+#ifdef USE_MOTIF
extern void x_menu_wait_for_event (void *data);
+#endif
extern void x_activate_menubar (struct frame *);
extern int popup_activated (void);
extern void initialize_frame_menubar (struct frame *);