diff options
author | David Goulet <dgoulet@torproject.org> | 2018-04-13 16:58:49 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-04-13 16:58:49 -0400 |
commit | c2f83746f4d65599bd45381c07a95c0d88181882 (patch) | |
tree | 05949f8d027092bec628102cb2eb26c8d8a7f227 /src/common/token_bucket.h | |
parent | 34c2574aa97a05381c1796fb12d82616f96fdeb6 (diff) | |
download | tor-c2f83746f4d65599bd45381c07a95c0d88181882.tar.gz tor-c2f83746f4d65599bd45381c07a95c0d88181882.zip |
token_bucket: Fix indentation
Both header and code file had some indentation issues after mass renaming.
No code behavior change.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/common/token_bucket.h')
-rw-r--r-- | src/common/token_bucket.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/common/token_bucket.h b/src/common/token_bucket.h index 44315fb6bd..329b652f8e 100644 --- a/src/common/token_bucket.h +++ b/src/common/token_bucket.h @@ -63,29 +63,29 @@ typedef struct token_bucket_rw_t { } token_bucket_rw_t; void token_bucket_rw_init(token_bucket_rw_t *bucket, - uint32_t rate, - uint32_t burst, - uint32_t now_ts); + uint32_t rate, + uint32_t burst, + uint32_t now_ts); void token_bucket_rw_adjust(token_bucket_rw_t *bucket, - uint32_t rate, uint32_t burst); + uint32_t rate, uint32_t burst); void token_bucket_rw_reset(token_bucket_rw_t *bucket, - uint32_t now_ts); + uint32_t now_ts); #define TB_READ 1 #define TB_WRITE 2 int token_bucket_rw_refill(token_bucket_rw_t *bucket, - uint32_t now_ts); + uint32_t now_ts); int token_bucket_rw_dec_read(token_bucket_rw_t *bucket, - ssize_t n); + ssize_t n); int token_bucket_rw_dec_write(token_bucket_rw_t *bucket, - ssize_t n); + ssize_t n); void token_bucket_rw_dec(token_bucket_rw_t *bucket, - ssize_t n_read, ssize_t n_written); + ssize_t n_read, ssize_t n_written); static inline size_t token_bucket_rw_get_read(const token_bucket_rw_t *bucket); static inline size_t |