Added missing "static"

pull/2463/head
David Garcia Quintas 10 years ago
parent b80479ec27
commit cfb21ce668
  1. 2
      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;

Loading…
Cancel
Save