From: Ruben Kerkhof Date: Wed, 2 May 2018 10:23:56 +0000 (+0200) Subject: configure.ac: return is not a function X-Git-Url: https://git.octo.it/?p=collectd.git;a=commitdiff_plain;h=b6af45453fa718f8c3bd57b88cd90298bd52c444;hp=6a16a919dccb9f90c36f3c2e96a0b2b6d1b357d6 configure.ac: return is not a function --- diff --git a/configure.ac b/configure.ac index 352a7b66..4fe2b72a 100644 --- a/configure.ac +++ b/configure.ac @@ -1567,7 +1567,7 @@ if test "x$have_getmntent" = "xlibc"; then struct mntent *me; fh = setmntent ("/etc/mtab", "r"); me = getmntent (fh); - return(me->mnt_passno); + return me->mnt_passno; ]] ) ], @@ -1590,7 +1590,7 @@ if test "x$have_getmntent" = "xlibc"; then int status; fh = fopen ("/etc/mnttab", "r"); status = getmntent (fh, &mt); - return(status); + return status; ]] ) ], @@ -4081,7 +4081,7 @@ if test "x$with_libpcap" = "xyes"; then [[#include ]], [[ int val = PCAP_ERROR_IFACE_NOT_UP; - return(val); + return val; ]] ) ],