summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/gzip/trees.c
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1997-08-29 16:14:20 +0000
committersos <sos@FreeBSD.org>1997-08-29 16:14:20 +0000
commitc063323c3ee5e28f098fae8c6d46fb551a934d10 (patch)
treedc3ae93fcca2bce37ec0a3e46cf4172e155cada7 /gnu/usr.bin/gzip/trees.c
parent99b7368a45a052dfe4e61148f2b7f949d35a2008 (diff)
downloadFreeBSD-src-c063323c3ee5e28f098fae8c6d46fb551a934d10.zip
FreeBSD-src-c063323c3ee5e28f098fae8c6d46fb551a934d10.tar.gz
Dont use an internal function called warn it clashes with libc.
Allows ELF compile.
Diffstat (limited to 'gnu/usr.bin/gzip/trees.c')
-rw-r--r--gnu/usr.bin/gzip/trees.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/gzip/trees.c b/gnu/usr.bin/gzip/trees.c
index 203c18a..a9b35be 100644
--- a/gnu/usr.bin/gzip/trees.c
+++ b/gnu/usr.bin/gzip/trees.c
@@ -59,7 +59,7 @@
#include "gzip.h"
#ifdef RCSID
-static char rcsid[] = "$Id$";
+static char rcsid[] = "$Id: trees.c,v 1.6 1997/02/22 15:46:01 peter Exp $";
#endif
/* ===========================================================================
@@ -1070,6 +1070,6 @@ local void set_file_type()
while (n < LITERALS) bin_freq += dyn_ltree[n++].Freq;
*file_type = bin_freq > (ascii_freq >> 2) ? BINARY : ASCII;
if (*file_type == BINARY && translate_eol) {
- warn("-l used on binary file", "");
+ WARN((stderr, "-l used on binary file", ""));
}
}
OpenPOWER on IntegriCloud