aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu.c
diff options
context:
space:
mode:
authorPaul Eggert2013-11-28 21:25:25 -0800
committerPaul Eggert2013-11-28 21:25:25 -0800
commit49faeaaf89c820082ba816d089fab5711c9d2b06 (patch)
treed317ea923409fc6948fdc1fd2a7eaaf4d6c08078 /src/menu.c
parentc8f0efc2e89d9cfc7befa7f20f584f3f0b12f487 (diff)
downloademacs-49faeaaf89c820082ba816d089fab5711c9d2b06.tar.gz
emacs-49faeaaf89c820082ba816d089fab5711c9d2b06.zip
Fix minor problems found by static checking.
* buffer.h (struct buffer_text, struct buffer): * frame.h (struct frame): * window.h (struct window): Avoid 'bool foo : 1;', as it's not portable to pre-C99 compilers, as described in ../lib/stdbool.in.h. Use 'unsigned foo : 1;' instead. * menu.c (syms_of_menu): Define x-popup-dialog, removing a no-longer-valid use of HAVE_MENUS. * xdisp.c (propagate_buffer_redisplay): Now static.
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/menu.c b/src/menu.c
index 9ef3b88fe86..e33c647d020 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -1606,9 +1606,6 @@ syms_of_menu (void)
1606 menu_items_inuse = Qnil; 1606 menu_items_inuse = Qnil;
1607 1607
1608 defsubr (&Sx_popup_menu); 1608 defsubr (&Sx_popup_menu);
1609
1610#ifdef HAVE_MENUS
1611 defsubr (&Sx_popup_dialog); 1609 defsubr (&Sx_popup_dialog);
1612#endif
1613 defsubr (&Smenu_bar_menu_at_x_y); 1610 defsubr (&Smenu_bar_menu_at_x_y);
1614} 1611}