PPP, moved ppp_init() from public API (ppp.h) to private API (ppp_impl.h)

ppp_init() is called by lwip_init(), users don't need to init PPP by themselves
This commit is contained in:
Sylvain Rochet
2014-12-24 19:08:58 +01:00
parent 91356d2d03
commit b30faa577d
3 changed files with 4 additions and 6 deletions

View File

@@ -464,11 +464,6 @@ struct ppp_pcb_s {
*** PUBLIC FUNCTIONS ***
************************/
/*
* Initialize the PPP subsystem.
*/
int ppp_init(void);
/*
* Create a new PPP session.
*

View File

@@ -365,6 +365,9 @@ struct pppd_stats {
/* PPP flow functions
*/
/* initialize the PPP subsystem */
int ppp_init(void);
/* function called by pppoe.c */
void ppp_input(ppp_pcb *pcb, struct pbuf *pb);