apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1528869 - in /apr/apr/branches/1.5.x: ./ build/apr_network.m4
Date Thu, 03 Oct 2013 13:56:56 GMT
Author: rjung
Date: Thu Oct  3 13:56:56 2013
New Revision: 1528869

URL: http://svn.apache.org/r1528869
Log:
Fix compile w/ clang and IPv6

Submitted by:  Yuri Pankov <yuri.pankov@gmail.com>
               via freebsd ports/164420

Backport of r1235047 from trunk.

Modified:
    apr/apr/branches/1.5.x/   (props changed)
    apr/apr/branches/1.5.x/build/apr_network.m4

Propchange: apr/apr/branches/1.5.x/
------------------------------------------------------------------------------
  Merged /apr/apr/trunk:r1235047

Modified: apr/apr/branches/1.5.x/build/apr_network.m4
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/build/apr_network.m4?rev=1528869&r1=1528868&r2=1528869&view=diff
==============================================================================
--- apr/apr/branches/1.5.x/build/apr_network.m4 (original)
+++ apr/apr/branches/1.5.x/build/apr_network.m4 Thu Oct  3 13:56:56 2013
@@ -64,7 +64,7 @@ AC_DEFUN([APR_CHECK_WORKING_GETADDRINFO]
 #include <sys/socket.h>
 #endif
 
-void main(void) {
+int main(void) {
     struct addrinfo hints, *ai;
     int error;
 
@@ -152,7 +152,7 @@ AC_DEFUN([APR_CHECK_WORKING_GETNAMEINFO]
 #include <netinet/in.h>
 #endif
 
-void main(void) {
+int main(void) {
     struct sockaddr_in sa;
     char hbuf[256];
     int error;
@@ -195,7 +195,7 @@ AC_DEFUN([APR_CHECK_NEGATIVE_EAI], [
 #include <netdb.h>
 #endif
 
-void main(void) {
+int main(void) {
     if (EAI_ADDRFAMILY < 0) {
         exit(0);
     }



Mime
View raw message