This commit was manufactured by cvs2svn to create tag 'FreeBSD-release/1.0'.
[unix-history] / gnu / usr.bin / gzip / lzw.c
CommitLineData
3013fe88
NW
1/* lzw.c -- compress files in LZW format.
2 * This is a dummy version avoiding patent problems.
3 */
4
78ed81a3 5#ifdef RCSID
6static char rcsid[] = "$Id: lzw.c,v 0.9 1993/06/10 13:27:31 jloup Exp $";
3013fe88
NW
7#endif
8
9#include "tailor.h"
10#include "gzip.h"
11#include "lzw.h"
12
3013fe88
NW
13static int msg_done = 0;
14
15/* Compress in to out with lzw method. */
16int lzw(in, out)
17 int in, out;
18{
19 if (msg_done) return ERROR;
20 msg_done = 1;
21 fprintf(stderr,"output in compress .Z format not supported\n");
78ed81a3 22 if (in != out) { /* avoid warnings on unused variables */
23 exit_code = ERROR;
24 }
3013fe88
NW
25 return ERROR;
26}