From 21653f0f91f4784764a8c6364d43dcaf41df2e32 Mon Sep 17 00:00:00 2001 From: Sylvain Rochet Date: Sat, 9 Jun 2012 01:20:01 +0200 Subject: [PATCH] pr_log is unused, don't even try to build it --- src/netif/ppp/utils.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/netif/ppp/utils.c b/src/netif/ppp/utils.c index 5720bd17..fe07e4fb 100644 --- a/src/netif/ppp/utils.c +++ b/src/netif/ppp/utils.c @@ -448,7 +448,7 @@ vslp_printer (void *arg, char *fmt, ...) } #endif /* PRINTPKT_SUPPORT */ -#ifdef unused +#if 0 /* UNUSED */ /* * log_packet - format a packet and log it. */ @@ -464,7 +464,7 @@ log_packet(p, len, prefix, level) format_packet(p, len, pr_log, &level); end_pr_log(); } -#endif /* unused */ +#endif /* UNUSED */ #if PRINTPKT_SUPPORT /* @@ -517,6 +517,7 @@ format_packet(p, len, printer, arg) } #endif /* PRINTPKT_SUPPORT */ +#if 0 /* UNUSED */ /* * init_pr_log, end_pr_log - initialize and finish use of pr_log. */ @@ -595,6 +596,7 @@ pr_log (void *arg, char *fmt, ...) linep = line + l; } } +#endif /* UNUSED */ /* * print_string - print a readable representation of a string using