author | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 5 Nov 2006 05:37:23 +0000 (00:37 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 5 Nov 2006 07:48:36 +0000 (23:48 -0800) | ||
commit | 6c2f207b2316149ee8dfaf026e4a869ff9ab42f7 | |
tree | 2e71cda1616f53697b3b8bd85c63f46566aa53ab | tree | snapshot |
parent | af8ffbed0fc016e066765706738c45c65493f392 | commit | diff |
Remove unsupported C99 style struct initializers in git-archive.
At least one older version of the Solaris C compiler doesn't support
the newer C99 style struct initializers. To allow Git to compile
on those systems use an archive description struct which is easier
to initialize without the C99 struct initializer syntax.
Also since the archives array is not used by anyone other than
archive.c we can make it static.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
At least one older version of the Solaris C compiler doesn't support
the newer C99 style struct initializers. To allow Git to compile
on those systems use an archive description struct which is easier
to initialize without the C99 struct initializer syntax.
Also since the archives array is not used by anyone other than
archive.c we can make it static.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
archive.h | diff | blob | history | |
builtin-archive.c | diff | blob | history |