summaryrefslogtreecommitdiff
path: root/x11/xview-lib/patches/patch-fk
blob: 12a931dd830ae0916eda78b2d7da98ed11fb3ad1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$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;