aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Pärtel <martin.partel@gmail.com>2020-01-08 12:31:42 +0200
committerGitHub <noreply@github.com>2020-01-08 12:31:42 +0200
commit39f183cdf14f9c1b516d96b44f0efdf1dfad99e8 (patch)
tree1d2f84eadd47c959e7e2a56df94bff7c54c9df67
parentf7bb2e79d76afc3a985bb6a990a1aa51734feb6d (diff)
parent9ad6363e9c1ee463bff7f28454283dd49d0d2e20 (diff)
downloadbindfs-39f183cdf14f9c1b516d96b44f0efdf1dfad99e8.tar.gz
Merge pull request #81 from jengelh/master
build: fix build failure with -fno-common
-rw-r--r--src/rate_limiter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rate_limiter.h b/src/rate_limiter.h
index a332294..95c0069 100644
--- a/src/rate_limiter.h
+++ b/src/rate_limiter.h
@@ -26,7 +26,7 @@
/* When we are idle, we allow some time to be "credited" to the next writer.
* Otherwise, the short pause between requests would "go to waste", lowering
* the throughput when there is only one requester. */
-const double rate_limiter_idle_credit;
+extern const double rate_limiter_idle_credit;
typedef struct RateLimiter {
double rate; /* bytes / second */