rename popcount to popcount_binary to avoid a conflict with NetBSD libc

NetBSD-current's libc has a function named popcount.
hiding these extensions using feature macros is not possible because
redis uses other extensions covered by the same feature macro.
eg. inet_aton
This commit is contained in:
YAMAMOTO Takashi
2012-07-19 21:28:11 +09:00
parent 0a20ad40de
commit b2dd0849ce
2 changed files with 3 additions and 3 deletions

View File

@ -1010,7 +1010,7 @@ long long mstime(void);
void getRandomHexChars(char *p, unsigned int len);
uint64_t crc64(uint64_t crc, const unsigned char *s, uint64_t l);
void exitFromChild(int retcode);
size_t popcount(void *s, long count);
size_t popcount_binary(void *s, long count);
void redisSetProcTitle(char *title);
/* networking.c -- Networking and Client related operations */