summaryrefslogtreecommitdiff
path: root/gpsd_report.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-03-03 00:21:00 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-03-03 00:21:00 +0000
commit3ba80c3fa30ce2a86ce127fd9ff84137db57baee (patch)
treeb8a23b0403bce93a08c01369d843a032d46fa514 /gpsd_report.c
parent68e56574cd2e8e26aa1ad35db05b2ccab085388f (diff)
downloadgpsd-3ba80c3fa30ce2a86ce127fd9ff84137db57baee.tar.gz
File rename.
Diffstat (limited to 'gpsd_report.c')
-rw-r--r--gpsd_report.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/gpsd_report.c b/gpsd_report.c
new file mode 100644
index 00000000..59b8c382
--- /dev/null
+++ b/gpsd_report.c
@@ -0,0 +1,17 @@
+/* $Id$ */
+#include <sys/types.h>
+#include <stdio.h>
+#include <stdarg.h>
+#include "gpsd_config.h"
+#include "gpsd.h"
+
+void gpsd_report(int errlevel UNUSED, const char *fmt, ... )
+/* stub logger for clients that don't supply one */
+{
+ va_list ap;
+
+ va_start(ap, fmt);
+ (void)vfprintf(stderr, fmt, ap);
+ va_end(ap);
+}
+