$NetBSD: patch-cz,v 1.3 2007/05/12 00:22:17 tnn Exp $ --- lib/libxview/textsw/txt_input.c.orig 1993-06-29 07:17:42.000000000 +0200 +++ lib/libxview/textsw/txt_input.c @@ -40,8 +40,6 @@ static char sccsid[] = "@(#)txt_inpu #include #endif /* SVR4 */ -extern int errno; - 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 +55,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 +193,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 +209,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;