diff options
author | antirez <antirez@gmail.com> | 2009-03-27 21:37:57 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2009-03-27 21:37:57 +0100 |
commit | 53f8c2c71e5962eeaccb80d04d2e0ff575d520fd (patch) | |
tree | 54fa8431230a243f15839565cd70572bfff98849 | |
parent | 17be1a4a173461772230716ad99d373a512e8f9e (diff) | |
download | redis-53f8c2c71e5962eeaccb80d04d2e0ff575d520fd.tar.gz |
now Redis is C99-ok
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | sds.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ # This file is released under the BSD license, see the COPYING file DEBUG?= -g -CFLAGS?= -O2 -Wall -W -DSDS_ABORT_ON_OOM +CFLAGS?= -std=c99 -pedantic -O2 -Wall -W -DSDS_ABORT_ON_OOM CCOPT= $(CFLAGS) OBJ = adlist.o ae.o anet.o dict.o redis.o sds.o zmalloc.o @@ -38,7 +38,7 @@ typedef char *sds; struct sdshdr { long len; long free; - char buf[0]; + char buf[]; }; sds sdsnewlen(const void *init, size_t initlen); |