make lacp_timer_funcs static.
This commit is contained in:
parent
92bd9a35e9
commit
9019b2a550
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ieee8023ad_lacp_impl.h,v 1.1 2005/03/18 11:11:50 yamt Exp $ */
|
||||
/* $NetBSD: ieee8023ad_lacp_impl.h,v 1.2 2005/06/01 13:34:48 yamt Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c)2005 YAMAMOTO Takashi,
|
||||
|
@ -99,9 +99,6 @@ struct lacp_port {
|
|||
|
||||
#define LACPPORT_NTT 1 /* need to transmit */
|
||||
|
||||
typedef void (*lacp_timer_func_t)(struct lacp_port *);
|
||||
const lacp_timer_func_t lacp_timer_funcs[LACP_NTIMER];
|
||||
|
||||
#define LACP_SOFTC(sc) \
|
||||
(&IEEE8023AD_SOFTC(sc)->isc_lacpsc)
|
||||
#define LACP_PORT(port) \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ieee8023ad_lacp_timer.c,v 1.1 2005/03/18 11:11:50 yamt Exp $ */
|
||||
/* $NetBSD: ieee8023ad_lacp_timer.c,v 1.2 2005/06/01 13:34:48 yamt Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c)2005 YAMAMOTO Takashi,
|
||||
|
@ -27,7 +27,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ieee8023ad_lacp_timer.c,v 1.1 2005/03/18 11:11:50 yamt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ieee8023ad_lacp_timer.c,v 1.2 2005/06/01 13:34:48 yamt Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -41,7 +41,9 @@ __KERNEL_RCSID(0, "$NetBSD: ieee8023ad_lacp_timer.c,v 1.1 2005/03/18 11:11:50 ya
|
|||
#include <net/agr/ieee8023ad_lacp_impl.h>
|
||||
#include <net/agr/ieee8023ad_lacp_sm.h>
|
||||
|
||||
const lacp_timer_func_t lacp_timer_funcs[LACP_NTIMER] = {
|
||||
typedef void (*lacp_timer_func_t)(struct lacp_port *);
|
||||
|
||||
const static lacp_timer_func_t lacp_timer_funcs[LACP_NTIMER] = {
|
||||
[LACP_TIMER_CURRENT_WHILE] = lacp_sm_rx_timer,
|
||||
[LACP_TIMER_PERIODIC] = lacp_sm_ptx_timer,
|
||||
[LACP_TIMER_WAIT_WHILE] = lacp_sm_mux_timer,
|
||||
|
|
Loading…
Reference in New Issue