summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2009-01-09 19:55:27 +0000
committerstsp <stsp@openbsd.org>2009-01-09 19:55:27 +0000
commit78b74bc282b5fc6ddee118a269c44d20218f1ba4 (patch)
treeb477ad23c7d8c4094627154e42de502c107a4a63
parentsync (diff)
downloadwireguard-openbsd-78b74bc282b5fc6ddee118a269c44d20218f1ba4.tar.xz
wireguard-openbsd-78b74bc282b5fc6ddee118a269c44d20218f1ba4.zip
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];