summaryrefslogtreecommitdiff
path: root/src/xmenu.c
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2008-08-01 15:44:26 +0000
committerChong Yidong <cyd@stupidchicken.com>2008-08-01 15:44:26 +0000
commitd142dd3dbcecbf9026acb639eeabca6c0c8cf4c5 (patch)
tree05b76d69d20ab48ac4c1dfacf29c05a809cc6b3c /src/xmenu.c
parent61bf63e29d116999e608efccb17f1b41e708c262 (diff)
downloademacs-d142dd3dbcecbf9026acb639eeabca6c0c8cf4c5.tar.gz
Revert last change.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 199b19baec9..17ea25c1fde 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -146,6 +146,12 @@ static int popup_activated_flag;
static int next_menubar_widget_id;
+/* For NS and NTGUI, these prototypes are defined in keyboard.h. */
+#if defined (USE_X_TOOLKIT) || defined (USE_GTK)
+extern widget_value *xmalloc_widget_value P_ ((void));
+extern widget_value *digest_single_submenu P_ ((int, int, int));
+#endif
+
/* This is set nonzero after the user activates the menu bar, and set
to zero again after the menu bars are redisplayed by prepare_menu_bar.
While it is nonzero, all calls to set_frame_menubar go deep.