Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2018 16:24:37 +0000 (UTC)
From:      Andrew Rybchenko <arybchik@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r342335 - stable/12/sys/dev/sfxge/common
Message-ID:  <201812211624.wBLGObNd079864@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arybchik
Date: Fri Dec 21 16:24:37 2018
New Revision: 342335
URL: https://svnweb.freebsd.org/changeset/base/342335

Log:
  MFC r341215
  
  sfxge(4): fix build because of no declaration
  
  Functions declared in mcdi_mon.h are implemented in mcdi_mon.c.
  The build fails if compiler options require declaration before
  definition.
  
  Sponsored by:   Solarflare Communications, Inc.
  Differential Revision:  https://reviews.freebsd.org/D18246

Modified:
  stable/12/sys/dev/sfxge/common/mcdi_mon.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/sfxge/common/mcdi_mon.c
==============================================================================
--- stable/12/sys/dev/sfxge/common/mcdi_mon.c	Fri Dec 21 16:22:12 2018	(r342334)
+++ stable/12/sys/dev/sfxge/common/mcdi_mon.c	Fri Dec 21 16:24:37 2018	(r342335)
@@ -33,6 +33,7 @@ __FBSDID("$FreeBSD$");
 
 #include "efx.h"
 #include "efx_impl.h"
+#include "mcdi_mon.h"
 
 #if EFSYS_OPT_MON_MCDI
 



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