Remove unsupported C99 style struct initializers in git-archive. v1.4.3.4
authorShawn O. Pearce <spearce@spearce.org>
Sun, 5 Nov 2006 05:37:23 +0000 (00:37 -0500)
committerJunio C Hamano <junkio@cox.net>
Sun, 5 Nov 2006 07:48:36 +0000 (23:48 -0800)
commit6c2f207b2316149ee8dfaf026e4a869ff9ab42f7
tree2e71cda1616f53697b3b8bd85c63f46566aa53ab
parentaf8ffbed0fc016e066765706738c45c65493f392
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>
archive.h
builtin-archive.c