summaryrefslogtreecommitdiffstats
path: root/discover/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/log.c')
-rw-r--r--discover/log.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/discover/log.c b/discover/log.c
deleted file mode 100644
index e006fd0..0000000
--- a/discover/log.c
+++ /dev/null
@@ -1,23 +0,0 @@
-
-#include <stdarg.h>
-
-#include "log.h"
-
-static FILE *logf;
-
-void pb_log(const char *fmt, ...)
-{
- va_list ap;
- FILE *stream;
-
- stream = logf ? logf : stdout;
-
- va_start(ap, fmt);
- vfprintf(stream, fmt, ap);
- va_end(ap);
-}
-
-void pb_log_set_stream(FILE *stream)
-{
- logf = stream;
-}
OpenPOWER on IntegriCloud