From 6962ff18d8ebf899d34e63e3ae6894b5edbddb47 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Mon, 22 Feb 2010 20:16:48 +0000 Subject: [PATCH] Removed ppp_trace (not used by the PPP code any more) --- ports/win32/sio.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/ports/win32/sio.c b/ports/win32/sio.c index 3587f1f..c4285f9 100644 --- a/ports/win32/sio.c +++ b/ports/win32/sio.c @@ -199,22 +199,3 @@ void sio_read_abort(sio_fd_t fd) sio_abort = 1; 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); -}