pkgsrc/x11/xview-lib/patches/patch-fk
2012-11-16 00:29:39 +00:00

29 lines
1.1 KiB
Text

$NetBSD: patch-fk,v 1.3 2012/11/16 00:29:40 joerg Exp $
--- lib/libxview/textsw/txt_field.c.orig 1993-06-29 05:17:50.000000000 +0000
+++ lib/libxview/textsw/txt_field.c
@@ -121,7 +121,6 @@ check_selection(buf, buf_len, first, las
CHAR marker2[3];
int marker2_len;
unsigned direction;
- static void textsw_get_match_symbol();
buf = buf + (buf_len - marker1_len);
(void) textsw_get_match_symbol(marker1, marker1_len,
@@ -152,7 +151,6 @@ check_selection(buf, buf_len, first, las
CHAR marker2[3];
int marker2_len;
unsigned direction;
- static void textsw_get_match_symbol();
(void) textsw_get_match_symbol(marker1, marker1_len,
marker2, &marker2_len, &direction);
@@ -286,7 +284,7 @@ textsw_match_same_marker(folio, marker,
}
/* Caller must set *first to be position at which to start the search. */
-Pkg_private int
+Pkg_private void
textsw_match_field(textsw, first, last_plus_one, symbol1, symbol1_len,
symbol2, symbol2_len, field_flag, do_search)
Textsw_folio textsw;