git: 816100089283 - main - iflib: Make iflib_stop() static

From: Zhenlei Huang <zlei_at_FreeBSD.org>
Date: Mon, 07 Oct 2024 14:19:41 UTC
The branch main has been updated by zlei:

URL: https://cgit.FreeBSD.org/src/commit/?id=8161000892830ee52bc8048be91b40cdad25fea8

commit 8161000892830ee52bc8048be91b40cdad25fea8
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2024-10-07 14:19:02 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2024-10-07 14:19:02 +0000

    iflib: Make iflib_stop() static
    
    It is declared as static. Make the definition consistent with the
    declaration.
    
    This follows 7ff9ae90f0bd and partially reverts 09f6ff4f1a47.
    
    Reviewed by:    erj
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D46185
---
 sys/net/iflib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/net/iflib.c b/sys/net/iflib.c
index a2e2c3efa1ad..997da7ca5b00 100644
--- a/sys/net/iflib.c
+++ b/sys/net/iflib.c
@@ -2585,7 +2585,7 @@ iflib_media_status(if_t ifp, struct ifmediareq *ifmr)
 	CTX_UNLOCK(ctx);
 }
 
-void
+static void
 iflib_stop(if_ctx_t ctx)
 {
 	iflib_txq_t txq = ctx->ifc_txqs;