summaryrefslogtreecommitdiffstats
path: root/sbin/savecore
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-08-16 07:02:14 +0000
committerru <ru@FreeBSD.org>2004-08-16 07:02:14 +0000
commitc392760f6f0281b2ed91c22ed695022ad63c4d40 (patch)
treedb15736a3bc950f35230408fa5242da07f0cb7d1 /sbin/savecore
parent327272b6e604fdce2bd60e9f1c200050ee2386d7 (diff)
downloadFreeBSD-src-c392760f6f0281b2ed91c22ed695022ad63c4d40.zip
FreeBSD-src-c392760f6f0281b2ed91c22ed695022ad63c4d40.tar.gz
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
Diffstat (limited to 'sbin/savecore')
-rw-r--r--sbin/savecore/savecore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c
index 96cb2bb..8d1e95a 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 *);
OpenPOWER on IntegriCloud