Redis fixes 28102013

Hi Antirez,

The following is a set of patches to fix and enforce function prototypes, there is also a patch to remove dead code from src/dict.c:dictScan() . You will find the diff stat below.

I've made these changes since I'm using redis in an internal project, and I'm enforcing some CFLAGS. These changes will also improve the code quality of redis.

Thanks for redis!


diff stat against my branch redis-fixes-28102013

git diff --stat origin/unstable..redis-fixes-28102013 
 deps/hiredis/sds.h     |  2 --
 src/cluster.c          |  2 +-
 src/config.c           |  2 +-
 src/db.c               |  2 +-
 src/dict.c             |  3 ---
 src/rand.c             |  8 +++++---
 src/rand.h             |  2 +-
 src/redis-check-dump.c | 14 +++++++-------
 src/redis-cli.c        | 20 ++++++++++----------
 src/redis.c            |  8 ++++----
 src/redis.h            |  8 ++++----
 11 files changed, 34 insertions(+), 37 deletions(-)