summaryrefslogtreecommitdiff
path: root/gpsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpsd.c')
-rw-r--r--gpsd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gpsd.c b/gpsd.c
index 6c5331c9..1e8eb2ed 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -162,6 +162,17 @@ static void onsig(int sig)
signalled = (sig_atomic_t) sig;
}
+void gpsd_report(const int debuglevel, const int errlevel,
+ const char *fmt, ...)
+{
+ va_list ap;
+
+ va_start(ap, fmt);
+ gpsd_labeled_report(debuglevel, errlevel, "gpsd:", fmt, ap);
+ va_end(ap);
+
+}
+
static void typelist(void)
/* list installed drivers and enabled features */
{