(xmenu_show, xdialog_show): Declare local var as char *, not
const char *, to stay compatible with C89 const rules.
2011-02-05 Paul Eggert <eggert@cs.ucla.edu>
+ * xmenu.c: conform to C89 const rules
+ (xmenu_show, xdialog_show): Declare local var as char *, not
+ const char *, to stay compatible with C89 const rules.
+
* xdisp.c: conform to C89 pointer rules
(store_mode_line_noprop, display_string, reseat_to_string):
(c_string_pos, number_of_chars, message_dolog):
{
/* Create a new pane. */
Lisp_Object pane_name, prefix;
- const char *pane_string;
+ char *pane_string;
pane_name = AREF (menu_items, i + MENU_ITEMS_PANE_NAME);
prefix = AREF (menu_items, i + MENU_ITEMS_PANE_PREFIX);
representing the text label and buttons. */
{
Lisp_Object pane_name, prefix;
- const char *pane_string;
+ char *pane_string;
pane_name = XVECTOR (menu_items)->contents[MENU_ITEMS_PANE_NAME];
prefix = XVECTOR (menu_items)->contents[MENU_ITEMS_PANE_PREFIX];
pane_string = (NILP (pane_name)