Auto merge of #408 - xor-gate:fix-redundant-decls, r=<try>
sds.h: Fix compiler warning when adding -Wredundant-decls
Fixes:
```
In file included from /data/files/users/jerry/github/hiredis/read.c:44:0:
/data/files/users/jerry/github/hiredis/sds.h:63:8: warning: redundant redeclaration of 'sdslen' [-Wredundant-decls]
size_t sdslen(const sds s);
^
/data/files/users/jerry/github/hiredis/sds.h:50:22: note: previous definition of 'sdslen' was here
static inline size_t sdslen(const sds s) {
^
/data/files/users/jerry/github/hiredis/sds.h:66:8: warning: redundant redeclaration of 'sdsavail' [-Wredundant-decls]
size_t sdsavail(const sds s);
^
/data/files/users/jerry/github/hiredis/sds.h:55:22: note: previous definition of 'sdsavail' was here
static inline size_t sdsavail(const sds s) {
^
```
Please register or sign in to comment