author | Junio C Hamano <junkio@cox.net> | |
Mon, 29 Aug 2005 19:41:03 +0000 (12:41 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 29 Aug 2005 19:41:03 +0000 (12:41 -0700) | ||
commit | 2c04662d89eaa55cecb6effd743c17051d1458ec | |
tree | aa27bc3ebd317ed648b152ef92e00870d9b33414 | tree | snapshot |
parent | 10d781b9caa4f71495c7b34963bef137216f86a8 | commit | diff |
Revert "Replace zero-length array decls with []."
This reverts 6c5f9baa3bc0d63e141e0afc23110205379905a4 commit, whose
change breaks gcc-2.95.
Not that I ignore portability to compilers that are properly C99, but
keeping compilation with GCC working is more important, at least for
now. We would probably end up declaring with "name[1]" and teach the
allocator to subtract one if we really aimed for portability, but that
is left for later rounds.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This reverts 6c5f9baa3bc0d63e141e0afc23110205379905a4 commit, whose
change breaks gcc-2.95.
Not that I ignore portability to compilers that are properly C99, but
keeping compilation with GCC working is more important, at least for
now. We would probably end up declaring with "name[1]" and teach the
allocator to subtract one if we really aimed for portability, but that
is left for later rounds.
Signed-off-by: Junio C Hamano <junkio@cox.net>
cache.h | diff | blob | history | |
commit.c | diff | blob | history | |
ls-files.c | diff | blob | history | |
receive-pack.c | diff | blob | history | |
server-info.c | diff | blob | history |