From 7b7558d88436331476243b0b668d2e257d7687fe Mon Sep 17 00:00:00 2001 From: markm Date: Fri, 22 Feb 2002 20:51:00 +0000 Subject: Fix warnings inspired by lint, a commercial lint and WARNS=4. --- bin/dd/dd.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bin/dd/dd.c') diff --git a/bin/dd/dd.c b/bin/dd/dd.c index 52d4144..cdd358e 100644 --- a/bin/dd/dd.c +++ b/bin/dd/dd.c @@ -54,7 +54,6 @@ static const char rcsid[] = #include #include #include -#include #include #include @@ -78,8 +77,8 @@ IO in, out; /* input/output state */ STAT st; /* statistics */ void (*cfunc)(void); /* conversion function */ u_quad_t cpy_cnt; /* # of blocks to copy */ -off_t pending = 0; /* pending seek if sparse */ -u_int ddflags; /* conversion options */ +static off_t pending = 0; /* pending seek if sparse */ +u_int ddflags = 0; /* conversion options */ size_t cbsz; /* conversion block size */ quad_t files_cnt = 1; /* # of files to copy */ const u_char *ctab; /* conversion table */ -- cgit v1.1