$NetBSD: patch-cz,v 1.5 2012/11/16 00:29:40 joerg Exp $ --- lib/libxview/textsw/txt_input.c.orig 1993-06-29 05:17:42.000000000 +0000 +++ lib/libxview/textsw/txt_input.c @@ -40,8 +40,7 @@ static char sccsid[] = "@(#)txt_inpu #include #endif /* SVR4 */ -extern int errno; - +Pkg_private void textsw_do_remote_drag_copy_move(Textsw_view_handle, Event *, short); Pkg_private Xv_Cursor move_cursor, dup_cursor; /* laf */ Pkg_private void termsw_menu_set(); Pkg_private Key_map_handle textsw_do_filter(); @@ -57,6 +56,8 @@ static void textsw_do_undo(); Pkg_private void textsw_implicit_commit_doit(); #endif +static int textsw_do_newline(); + #define SPACE_CHAR 0x20 Pkg_private int @@ -193,6 +194,15 @@ textsw_gprofed_routine(view, ie) #endif +static int textsw_scroll_event(); +static int textsw_function_key_event(); +static int textsw_mouse_event(); +static int textsw_edit_function_key_event(); +static int textsw_caret_motion_event(); +static int textsw_field_event(); +static int textsw_file_operation(); +static int textsw_erase_action(); + Pkg_private int textsw_process_event(view_public, ie, arg) Textsw_view view_public; @@ -200,14 +210,6 @@ textsw_process_event(view_public, ie, ar Notify_arg arg; { Pkg_private void textsw_update_scrollbars(); - static int textsw_scroll_event(); - static int textsw_function_key_event(); - static int textsw_mouse_event(); - static int textsw_edit_function_key_event(); - static int textsw_caret_motion_event(); - static int textsw_field_event(); - static int textsw_file_operation(); - static int textsw_erase_action(); int caret_was_up; int result = TEXTSW_PE_USED;