aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 */