Move libstdc++3 into the attic. It can be removed from the repo later.
[dragonfly.git] / gnu / usr.bin / gzip / lzw.c
1 /* lzw.c -- compress files in LZW format.
2  * This is a dummy version avoiding patent problems.
3  *
4  * $FreeBSD: src/gnu/usr.bin/gzip/lzw.c,v 1.6 1999/08/27 23:35:51 peter Exp $
5  * $DragonFly: src/gnu/usr.bin/gzip/Attic/lzw.c,v 1.2 2003/06/17 04:25:46 dillon Exp $
6  */
7
8 #include "tailor.h"
9 #include "gzip.h"
10 #include "lzw.h"
11
12 static int msg_done = 0;
13
14 /* Compress in to out with lzw method. */
15 int lzw(in, out)
16     int in, out;
17 {
18     if (msg_done) return ERROR;
19     msg_done = 1;
20     fprintf(stderr,"output in compress .Z format not supported\n");
21     if (in != out) { /* avoid warnings on unused variables */
22         exit_code = ERROR;
23     }
24     return ERROR;
25 }