pr_log is unused, don't even try to build it

This commit is contained in:
Sylvain Rochet 2012-06-09 01:20:01 +02:00
parent b922eaa754
commit 21653f0f91

View File

@ -448,7 +448,7 @@ vslp_printer (void *arg, char *fmt, ...)
} }
#endif /* PRINTPKT_SUPPORT */ #endif /* PRINTPKT_SUPPORT */
#ifdef unused #if 0 /* UNUSED */
/* /*
* log_packet - format a packet and log it. * 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); format_packet(p, len, pr_log, &level);
end_pr_log(); end_pr_log();
} }
#endif /* unused */ #endif /* UNUSED */
#if PRINTPKT_SUPPORT #if PRINTPKT_SUPPORT
/* /*
@ -517,6 +517,7 @@ format_packet(p, len, printer, arg)
} }
#endif /* PRINTPKT_SUPPORT */ #endif /* PRINTPKT_SUPPORT */
#if 0 /* UNUSED */
/* /*
* init_pr_log, end_pr_log - initialize and finish use of pr_log. * 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; linep = line + l;
} }
} }
#endif /* UNUSED */
/* /*
* print_string - print a readable representation of a string using * print_string - print a readable representation of a string using