summaryrefslogtreecommitdiffstats
path: root/sbin/md5/md5.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2015-03-26 22:34:27 +0000
committerdelphij <delphij@FreeBSD.org>2015-03-26 22:34:27 +0000
commit09f4dc6853dd38fade40afabb9ff0768c41a7e4b (patch)
tree042889f0cecede73a5c1b19fedb4144147bb743f /sbin/md5/md5.c
parent65bba872bd06c4853f08044b2b0f07deece35470 (diff)
downloadFreeBSD-src-09f4dc6853dd38fade40afabb9ff0768c41a7e4b.zip
FreeBSD-src-09f4dc6853dd38fade40afabb9ff0768c41a7e4b.tar.gz
- Correct type for checkAgainst.
- Staticify flags that are not used outside the file scope. PR: bin/193471 Submitted by: Robert Sprowson <webpages sprow.co.uk> MFC after: 2 weeks
Diffstat (limited to 'sbin/md5/md5.c')
-rw-r--r--sbin/md5/md5.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/md5/md5.c b/sbin/md5/md5.c
index 823d09b..0c03c52 100644
--- a/sbin/md5/md5.c
+++ b/sbin/md5/md5.c
@@ -42,11 +42,11 @@ __FBSDID("$FreeBSD$");
#define TEST_BLOCK_COUNT 100000
#define MDTESTCOUNT 8
-int qflag;
-int rflag;
-int sflag;
-unsigned char* checkAgainst;
-int checksFailed;
+static int qflag;
+static int rflag;
+static int sflag;
+static char* checkAgainst;
+static int checksFailed;
typedef void (DIGEST_Init)(void *);
typedef void (DIGEST_Update)(void *, const unsigned char *, size_t);
OpenPOWER on IntegriCloud