Use a local "compress" symbol corresponding to a variable in BSS,

rather than the one from libz, corresponding to a function, when
linking statically.

PR:		bin/70392
This commit is contained in:
Ruslan Ermilov 2004-08-16 07:02:14 +00:00
parent cb33a8061a
commit 9f676d2ed6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133814

View file

@ -88,8 +88,8 @@ __FBSDID("$FreeBSD$");
/* The size of the buffer used for I/O. */
#define BUFFERSIZE (1024*1024)
int checkfor, compress, clear, force, keep, verbose; /* flags */
int nfound, nsaved, nerr; /* statistics */
static int checkfor, compress, clear, force, keep, verbose; /* flags */
static int nfound, nsaved, nerr; /* statistics */
extern FILE *zopen(const char *, const char *);