1 $NetBSD: patch-ac,v 1.1 2004/07/10 21:13:31 wiz Exp $
3 --- tsl.c.orig 1994-12-12 03:55:31.000000000 +0000
11 /* #include <search.h> */
12 @@ -111,4 +113,2 @@ static char rcs_ident[]="@(#)$Header: ts
17 @@ -123,2 +123,5 @@ file_ptr_t *tsl_wtable=NULL; /* Table of
19 +tsl_textread( long start, long vsize, char *vb );
20 +cmp_decompress( char *inb, char *outb, int insize );
23 @@ -147,3 +150,4 @@ int tsl_maxbuffusage=0x100000; /* Max bu
25 -tsl_error( fatal, va_alist )
27 +tsl_error(int fatal, ...)
28 /*----------------------------------------------------------------------
29 @@ -156,4 +160,2 @@ tsl_error( fatal, va_alist )
30 | fatal TRUE if the error should cause an exit.
31 -| va_alist Variable argument list for printing the error
34 @@ -163,5 +165,2 @@ tsl_error( fatal, va_alist )
35 \*----------------------------------------------------------------------*/
40 @@ -170,3 +169,3 @@ va_dcl
43 + va_start(ap, fatal);
45 @@ -182,3 +181,3 @@ va_dcl
47 -tsl_scan_concordance( target, sbuf, range_start, range_end )
48 +tsl_scan_concordance( char *target, ref_t *sbuf, ref_t range_start, ref_t range_end )
49 /*----------------------------------------------------------------------
50 @@ -205,6 +204,2 @@ tsl_scan_concordance( target, sbuf, rang
57 @@ -322,3 +317,3 @@ ref_t range_end;
59 -int tsl_gettext( vn, vc, vb, vbsize )
60 +int tsl_gettext( int vn, int vc, char *vb, int vbsize )
61 /*----------------------------------------------------------------------
62 @@ -341,5 +336,2 @@ int tsl_gettext( vn, vc, vb, vbsize )
68 @@ -384,3 +376,3 @@ int vn, vc;
70 -tsl_textread( start, vsize, vb )
71 +tsl_textread( long start, long vsize, char *vb )
72 /*----------------------------------------------------------------------
73 @@ -407,4 +399,2 @@ tsl_textread( start, vsize, vb )
78 @@ -628,3 +618,3 @@ int memlimit;
79 tsl_firstbuffer.prev = NULL;
80 - tsl_firstbuffer.win = NULL;
81 + tsl_firstbuffer.win = 0;
82 tsl_firstbuffer.bufferp = NULL;
83 @@ -632,3 +622,3 @@ int memlimit;
84 tsl_lastbuffer.next = NULL;
85 - tsl_lastbuffer.win = NULL;
86 + tsl_lastbuffer.win = 0;
87 tsl_lastbuffer.bufferp = NULL;