Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 2020 14:56:52 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r366728 - head/sbin/pfctl/tests
Message-ID:  <202010151456.09FEuqKV005108@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Thu Oct 15 14:56:51 2020
New Revision: 366728
URL: https://svnweb.freebsd.org/changeset/base/366728

Log:
  [pfctl_tests] Add missing void to empty function declaration
  
  Our gcc-6.4 flags require non-empty function declarations.
  Fix this to match the rest of the codebase.
  
  Tested:
  
  * compiled on gcc-6.4 for amd64
  
  Reviewed by:	imp
  Differential Revision:	https://reviews.freebsd.org/D26795

Modified:
  head/sbin/pfctl/tests/pfctl_test.c

Modified: head/sbin/pfctl/tests/pfctl_test.c
==============================================================================
--- head/sbin/pfctl/tests/pfctl_test.c	Thu Oct 15 14:55:07 2020	(r366727)
+++ head/sbin/pfctl/tests/pfctl_test.c	Thu Oct 15 14:56:51 2020	(r366728)
@@ -68,7 +68,7 @@ __FBSDID("$FreeBSD$");
  */
 
 static bool
-check_pf_module_available()
+check_pf_module_available(void)
 {
 	int modid;
 	struct module_stat stat;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010151456.09FEuqKV005108>