diff options
author | David Garcia Quintas <dgq@google.com> | 2015-07-15 17:50:41 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2015-07-15 17:50:41 -0700 |
commit | cfb21ce66809f4aff85b5b3cb7c824178071bffa (patch) | |
tree | aab562aef56e6b03ea405df796e4c93c434799b5 /include | |
parent | b80479ec273dfa3a209e120dc61d9bc9c4f57612 (diff) |
Added missing "static"
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc/support/useful.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc/support/useful.h b/include/grpc/support/useful.h index bbd9ea36ae..38072dfc1e 100644 --- a/include/grpc/support/useful.h +++ b/include/grpc/support/useful.h @@ -64,7 +64,7 @@ #define GPR_BITGET(i, n) (((i) & (1u << n)) != 0) /** Returns number of bits set in bitset \a i */ -int gpr_bitcount(gpr_uint32 i) { +static int gpr_bitcount(gpr_uint32 i) { i = i - ((i >> 1) & 0x55555555); i = (i & 0x33333333) + ((i >> 2) & 0x33333333); return (((i + (i >> 4)) & 0xF0F0F0F) * 0x1010101) >> 24; |