mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-28 09:19:53 +00:00
PPP, PPPoS, added missing static modifier on pppos_netif_input()
This commit is contained in:
parent
7a1a2b9aa6
commit
d387c1c83a
@ -61,7 +61,7 @@ static void pppos_recv_config(ppp_pcb *ppp, void *ctx, u32_t accm);
|
|||||||
static int pppos_ioctl(ppp_pcb *pcb, void *ctx, int cmd, void *arg);
|
static int pppos_ioctl(ppp_pcb *pcb, void *ctx, int cmd, void *arg);
|
||||||
#if VJ_SUPPORT
|
#if VJ_SUPPORT
|
||||||
static void pppos_vjc_config(ppp_pcb *ppp, void *ctx, int vjcomp, int cidcomp, int maxcid);
|
static void pppos_vjc_config(ppp_pcb *ppp, void *ctx, int vjcomp, int cidcomp, int maxcid);
|
||||||
err_t pppos_netif_input(ppp_pcb *ppp, void *ctx, struct pbuf *p, u16_t protocol);
|
static err_t pppos_netif_input(ppp_pcb *ppp, void *ctx, struct pbuf *p, u16_t protocol);
|
||||||
#endif /* VJ_SUPPORT */
|
#endif /* VJ_SUPPORT */
|
||||||
|
|
||||||
/* Prototypes for procedures local to this file. */
|
/* Prototypes for procedures local to this file. */
|
||||||
@ -787,7 +787,9 @@ pppos_vjc_config(ppp_pcb *ppp, void *ctx, int vjcomp, int cidcomp, int maxcid)
|
|||||||
ppp->num, vjcomp, cidcomp, maxcid));
|
ppp->num, vjcomp, cidcomp, maxcid));
|
||||||
}
|
}
|
||||||
|
|
||||||
err_t pppos_netif_input(ppp_pcb *ppp, void *ctx, struct pbuf *p, u16_t protocol) {
|
static err_t
|
||||||
|
pppos_netif_input(ppp_pcb *ppp, void *ctx, struct pbuf *p, u16_t protocol)
|
||||||
|
{
|
||||||
int ret;
|
int ret;
|
||||||
pppos_pcb *pppos = (pppos_pcb *)ctx;
|
pppos_pcb *pppos = (pppos_pcb *)ctx;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user