summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gpsd.h-tail2
-rw-r--r--libgpsd_core.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail
index 904a890f..2d9f48d5 100644
--- a/gpsd.h-tail
+++ b/gpsd.h-tail
@@ -1082,6 +1082,8 @@ extern void libgps_dump_state(struct gps_data_t *);
void gpsd_labeled_report(const int, const int,
const char *, const char *, va_list);
+void gpsd_vlog(const struct gpsd_errout_t *,
+ const int, char *, size_t, const char *, va_list ap);
PRINTF_FUNC(3, 4) void gpsd_log(const struct gpsd_errout_t *, const int, const char *, ...);
#ifdef S_SPLINT_S
diff --git a/libgpsd_core.c b/libgpsd_core.c
index 50887d0e..ff013ad3 100644
--- a/libgpsd_core.c
+++ b/libgpsd_core.c
@@ -114,7 +114,7 @@ static void visibilize(/*@out@*/char *outbuf, size_t outlen,
#endif /* !SQUELCH_ENABLE */
-static void gpsd_vlog(const struct gpsd_errout_t *errout,
+void gpsd_vlog(const struct gpsd_errout_t *errout,
const int errlevel,
char *outbuf, size_t outlen,
const char *fmt, va_list ap)