Source: Elias Pipping Upstream: no Reason: Fix return type of main function --- nmap-5.51/nbase/configlocal.m4 +++ nmap-5.51/nbase/configlocal.m4 @@ -27,7 +27,7 @@ #include #endif -void main(void) { +int main(void) { struct addrinfo hints, *ai; int error; @@ -81,7 +81,7 @@ #include #endif -void main(void) { +int main(void) { struct sockaddr_in sa; char hbuf[256]; int error;