From 9f676d2ed6fbecefda2b7fe7751ea9d49f8f7506 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 16 Aug 2004 07:02:14 +0000 Subject: [PATCH] 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 --- sbin/savecore/savecore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c index 96cb2bb0077..8d1e95a5249 100644 --- a/sbin/savecore/savecore.c +++ b/sbin/savecore/savecore.c @@ -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 *);