$NetBSD: patch-cz,v 1.2 2006/01/05 18:25:57 joerg Exp $

--- lib/libxview/textsw/txt_input.c.orig	Tue Jun 29 07:17:42 1993
+++ lib/libxview/textsw/txt_input.c	Thu Dec 20 10:09:17 2001
@@ -40,8 +40,6 @@ static char     sccsid[] = "@(#)txt_inpu
 #include <stdlib.h> 
 #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
