freebsd-ports/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_field.c
Thierry Thomas d3e597f062 Cleanup. The changes are mostly cosmetical but should help the build on
platforms different than i386.

Add a WWW link.

PR:		ports/94990
Submitted by:	Pedro F. Giffuni <giffunip (at) asme.org>
2006-05-25 20:51:32 +00:00

20 lines
785 B
C

--- lib/libxview/textsw/txt_field.c.orig Sun Mar 26 01:09:21 2006
+++ lib/libxview/textsw/txt_field.c Sun Mar 26 01:10:42 2006
@@ -121,8 +121,6 @@
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,
marker2, &marker2_len, &direction);
@@ -152,8 +150,6 @@
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);
if (STRNCMP(buf, marker2, marker2_len) == 0) {