summaryrefslogtreecommitdiff
path: root/src/xmenu.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-13 20:04:14 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-13 20:04:14 -0700
commit6f37259d326459347925b92219d1c573c6ab6dd0 (patch)
tree88cd2de8273cf5d32a1d81c39cbb55fcf57ec2c2 /src/xmenu.c
parent1683e3ab56a340c9349c57a9a6185ed7a66f1c54 (diff)
downloademacs-6f37259d326459347925b92219d1c573c6ab6dd0.tar.gz
* xmenu.c (x_menu_wait_for_event): Export only if USE_MOTIF.
* xterm.h (x_menu_wait_for_event): Declare only if USE_MOTIF.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 721019ffc56..43badb94e54 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -365,6 +365,9 @@ x_menu_set_in_use (int in_use)
/* 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)
{