Permalink
Browse files

Fix sdsempty() prototype in sds.h.

  • Loading branch information...
1 parent 689829f commit 0e72cc601f2152156df0544552c455a9fc66445a @antirez committed Aug 12, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 deps/hiredis/sds.h
  2. +1 −1 src/sds.h
View
@@ -56,7 +56,7 @@ static inline size_t sdsavail(const sds s) {
sds sdsnewlen(const void *init, size_t initlen);
sds sdsnew(const char *init);
-sds sdsempty();
+sds sdsempty(void);
size_t sdslen(const sds s);
sds sdsdup(const sds s);
void sdsfree(sds s);
View
@@ -56,7 +56,7 @@ static inline size_t sdsavail(const sds s) {
sds sdsnewlen(const void *init, size_t initlen);
sds sdsnew(const char *init);
-sds sdsempty();
+sds sdsempty(void);
size_t sdslen(const sds s);
sds sdsdup(const sds s);
void sdsfree(sds s);

0 comments on commit 0e72cc6

Please sign in to comment.