sysutils/dupd: fix build on recent current

This commit is contained in:
Tobias C. Berner 2020-08-28 20:19:16 +00:00
parent 8fbde56a60
commit ccfef2f75e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546819

View File

@ -0,0 +1,14 @@
Parital backport of:
https://github.com/jvirkki/dupd/commit/f137a38b948f5f5710cf2c7bfc7e9a70fba662f4
--- src/stats.h.orig 2020-08-28 20:17:51 UTC
+++ src/stats.h
@@ -28,7 +28,7 @@
#define ROUND2 1
#define MAX_HASHER_THREADS 2
-pthread_mutex_t stats_lock;
+extern pthread_mutex_t stats_lock;
extern int stats_sets_processed[ROUNDS];
extern int stats_sets_dup_done[ROUNDS];