68 lines
2.1 KiB
Text
68 lines
2.1 KiB
Text
$NetBSD: patch-fj,v 1.3 2012/11/16 00:29:40 joerg Exp $
|
|
|
|
--- lib/libxview/textsw/txt_menu.c.orig 1994-06-26 01:05:22.000000000 +0000
|
|
+++ lib/libxview/textsw/txt_menu.c
|
|
@@ -71,7 +71,7 @@ Pkg_private int textsw_has_been_mod
|
|
pkg_private void textsw_get_extend_to_edge();
|
|
pkg_private void textsw_set_extend_to_edge();
|
|
Pkg_private Textsw_view_handle textsw_create_view();
|
|
-int textsw_file_do_menu_action();
|
|
+Pkg_private void textsw_file_do_menu_action();
|
|
|
|
Pkg_private Menu textsw_menu_init();
|
|
Pkg_private void textsw_do_menu();
|
|
@@ -127,6 +127,9 @@ static Defaults_pairs line_break_pairs[]
|
|
};
|
|
|
|
|
|
+static void textsw_edit_do_menu_action();
|
|
+static void textsw_view_do_menu_action();
|
|
+static void textsw_find_do_menu_action();
|
|
|
|
/* VARARGS0 */
|
|
static void
|
|
@@ -140,8 +143,6 @@ textsw_new_menu(folio)
|
|
Frame frame = xv_get(textsw, WIN_FRAME);
|
|
Menu_item break_mode_item, undo_cmds_item, find_sel_cmds_item,
|
|
select_field_cmds_item;
|
|
- static int textsw_edit_do_menu_action(), textsw_view_do_menu_action(),
|
|
- textsw_find_do_menu_action();
|
|
int index;
|
|
Pkg_private char *textsw_get_extras_filename();
|
|
Pkg_private int textsw_build_extras_menu_items();
|
|
@@ -778,7 +779,7 @@ textsw_from_menu(menu)
|
|
return (textsw_view);
|
|
}
|
|
|
|
-Pkg_private int
|
|
+Pkg_private void
|
|
textsw_file_do_menu_action(cmd_menu, cmd_item)
|
|
Menu cmd_menu;
|
|
Menu_item cmd_item;
|
|
@@ -914,7 +915,7 @@ Load File Has Been Disabled."),
|
|
}
|
|
}
|
|
|
|
-static int
|
|
+static void
|
|
textsw_edit_do_menu_action(cmd_menu, cmd_item)
|
|
Menu cmd_menu;
|
|
Menu_item cmd_item;
|
|
@@ -1131,7 +1132,7 @@ Press \"Continue\" to proceed."),
|
|
}
|
|
}
|
|
|
|
-static int
|
|
+static void
|
|
textsw_view_do_menu_action(cmd_menu, cmd_item)
|
|
Menu cmd_menu;
|
|
Menu_item cmd_item;
|
|
@@ -1289,7 +1290,7 @@ Press \"Continue\" to proceed."),
|
|
break;
|
|
}
|
|
}
|
|
-static int
|
|
+static void
|
|
textsw_find_do_menu_action(cmd_menu, cmd_item)
|
|
Menu cmd_menu;
|
|
Menu_item cmd_item;
|