PPP, PPPoS, added missing static modifier on pppos_netif_input()

This commit is contained in:
Sylvain Rochet 2015-02-20 19:35:12 +01:00
parent 7a1a2b9aa6
commit d387c1c83a

View File

@ -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);
#if VJ_SUPPORT
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 */
/* 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));
}
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;
pppos_pcb *pppos = (pppos_pcb *)ctx;