mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-06-02 10:41:29 +00:00
Removed ppp_trace (not used by the PPP code any more)
This commit is contained in:
parent
74cd18c72e
commit
6962ff18d8
|
@ -199,22 +199,3 @@ void sio_read_abort(sio_fd_t fd)
|
||||||
sio_abort = 1;
|
sio_abort = 1;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @todo: remove this by changing the PPP log defines to use LWIP_DEBUGF()...
|
|
||||||
* Used by pppdebug:
|
|
||||||
* ppp_trace - a form of printf to send tracing information to stderr
|
|
||||||
*/
|
|
||||||
void ppp_trace( int level, const char *format, ...)
|
|
||||||
{
|
|
||||||
int len;
|
|
||||||
char buffer[1024];
|
|
||||||
va_list argList;
|
|
||||||
|
|
||||||
LWIP_UNUSED_ARG(level);
|
|
||||||
|
|
||||||
va_start(argList, format);
|
|
||||||
len = vsprintf(buffer, format, argList);
|
|
||||||
buffer[len - 1] = '\0';
|
|
||||||
va_end(argList);
|
|
||||||
printf("%s\n", buffer);
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user