Makes it work with -Wall -W -Werror
#include <fcntl.h>
#include "fdpass.h"
+ static
int nopen(void)
{
int i, n;
struct stat sb;
for (i = n = 0; i < 256; i++)
if (fstat(i, &sb) == 0) n++;
- return n;
+ return n;
}
int main(void)
{
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>]],
- [[struct in6_addr i;]])],
+ [[struct in6_addr i; (void)i;]])],
[i_cv_type_in6_addr=yes],
[i_cv_type_in6_addr=no])])
if test $i_cv_type_in6_addr = yes; then
AC_TRY_COMPILE([
#include <stdlib.h>
], [
- if (unsetenv("env") < 0) ;
+ if (unsetenv("env") < 0) { }
], [
i_cv_unsetenv_ret_int=yes
], [