diff options
author | Martin Pärtel <martin.partel@gmail.com> | 2020-01-08 12:31:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-08 12:31:42 +0200 |
commit | 39f183cdf14f9c1b516d96b44f0efdf1dfad99e8 (patch) | |
tree | 1d2f84eadd47c959e7e2a56df94bff7c54c9df67 | |
parent | f7bb2e79d76afc3a985bb6a990a1aa51734feb6d (diff) | |
parent | 9ad6363e9c1ee463bff7f28454283dd49d0d2e20 (diff) | |
download | bindfs-39f183cdf14f9c1b516d96b44f0efdf1dfad99e8.tar.gz |
Merge pull request #81 from jengelh/master
build: fix build failure with -fno-common
-rw-r--r-- | src/rate_limiter.h | 2 |
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 */ |