delete trailing whitespace from control files
[debian/gzip] / lzw.c
1 /* lzw.c -- compress files in LZW format.
2  * This is a dummy version avoiding patent problems.
3  */
4
5 #include <config.h>
6 #include "tailor.h"
7 #include "gzip.h"
8 #include "lzw.h"
9
10 static int msg_done = 0;
11
12 /* Compress in to out with lzw method. */
13 int lzw(in, out)
14     int in, out;
15 {
16     if (msg_done) return ERROR;
17     msg_done = 1;
18     fprintf(stderr,"output in compress .Z format not supported\n");
19     if (in != out) { /* avoid warnings on unused variables */
20         exit_code = ERROR;
21     }
22     return ERROR;
23 }