diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-03-03 00:21:00 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-03-03 00:21:00 +0000 |
commit | 3ba80c3fa30ce2a86ce127fd9ff84137db57baee (patch) | |
tree | b8a23b0403bce93a08c01369d843a032d46fa514 /gpsd_report.c | |
parent | 68e56574cd2e8e26aa1ad35db05b2ccab085388f (diff) | |
download | gpsd-3ba80c3fa30ce2a86ce127fd9ff84137db57baee.tar.gz |
File rename.
Diffstat (limited to 'gpsd_report.c')
-rw-r--r-- | gpsd_report.c | 17 |
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); +} + |