Git-aware CGI to provide dumb HTTP transport
authorShawn O. Pearce <spearce@spearce.org>
Mon, 9 Nov 2009 15:24:33 +0000 (07:24 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Nov 2009 17:30:01 +0000 (09:30 -0800)
commit92815b3363c6cf317337437a986bdf2e8f1aa3a0
tree35aca47fb80577e307006ee4d8d2ff5e310c84de
parent7f640b778f8cf87159890157a815f1d728573477
Git-aware CGI to provide dumb HTTP transport

http-backend: Fix symbol clash on AIX 5.3

Mike says:

 > > +static void send_file(const char *the_type, const char *name)
 > > +{
 >
 > I think a symbol clash here is responsible for a build breakage in
 > next on AIX 5.3:
 >
 > CC http-backend.o
 > http-backend.c:213: error: conflicting types for `send_file'
 > /usr/include/sys/socket.h:676: error: previous declaration of `send_file'
 > gmake: *** [http-backend.o] Error 1

So we rename the function send_local_file().

Reported-by: Mike Ralphson <mike.ralphson@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-backend.c