--- lib/libxview/textsw/ps_impl.c.orig	1993-06-29 07:17:39.000000000 +0200
+++ lib/libxview/textsw/ps_impl.c	2003-12-30 01:31:13.000000000 +0100
@@ -62,6 +62,10 @@ static Es_index ps_read(), ps_scratch_re
 static Es_index ps_replace(), ps_scratch_replace();
 static int      ps_set();
 
+static int	get_current_offset();
+
+static copy_pieces();
+
 static Es_index write_header_etc();
 
 static struct es_ops ps_ops = {
