summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2009-01-09 19:55:28 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2009-01-09 19:55:28 +0000
commit70fb358a614176616b77d6db256af5a8a4ec4a62 (patch)
treeaf010e3e78e49ffa0681dcd4b9f5fa6af34a03ab
parent1e6418c48d7edeee5525682cff618fd5de3526f4 (diff)
Fix wrong 'extern' declaration of crc_total in mtree's verify.c.
Found by lint(1). ok kjell@ krw@ grange@
-rw-r--r--usr.sbin/mtree/verify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/mtree/verify.c b/usr.sbin/mtree/verify.c
index 4031db79fd4..9c46384c569 100644
--- a/usr.sbin/mtree/verify.c
+++ b/usr.sbin/mtree/verify.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: verify.c,v 1.17 2008/10/08 12:17:02 kili Exp $ */
+/* $OpenBSD: verify.c,v 1.18 2009/01/09 19:55:27 stsp Exp $ */
/* $NetBSD: verify.c,v 1.10 1995/03/07 21:26:28 cgd Exp $ */
/*-
@@ -34,7 +34,7 @@
#if 0
static const char sccsid[] = "@(#)verify.c 8.1 (Berkeley) 6/6/93";
#else
-static const char rcsid[] = "$OpenBSD: verify.c,v 1.17 2008/10/08 12:17:02 kili Exp $";
+static const char rcsid[] = "$OpenBSD: verify.c,v 1.18 2009/01/09 19:55:27 stsp Exp $";
#endif
#endif /* not lint */
@@ -49,7 +49,7 @@ static const char rcsid[] = "$OpenBSD: verify.c,v 1.17 2008/10/08 12:17:02 kili
#include "mtree.h"
#include "extern.h"
-extern int32_t crc_total;
+extern u_int32_t crc_total;
extern int ftsoptions;
extern int dflag, eflag, qflag, rflag, sflag, uflag;
extern char fullpath[MAXPATHLEN];