diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2004-09-08 19:20:10 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2004-09-08 19:20:10 +0000 |
commit | 67187fb45aad18d047b81b29a6873f7759748b4e (patch) | |
tree | 31950d054b8cf8d6ca2dd9f96fe7603803b66f7d /report.c | |
parent | 038598b32037b5c21e52ea1fc6f634b46256c2b6 (diff) | |
download | gpsd-67187fb45aad18d047b81b29a6873f7759748b4e.tar.gz |
Changed name of gpscli_report to gpsd_report and added stub,
Diffstat (limited to 'report.c')
-rw-r--r-- | report.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/report.c b/report.c new file mode 100644 index 00000000..10effec5 --- /dev/null +++ b/report.c @@ -0,0 +1,21 @@ +/* + * Stub function, only here becauuse the linker wants to see it even if + * a client does not actually require it. + */ +#include "config.h" +#include <unistd.h> +#include <stdlib.h> +#include <stdio.h> +#include <signal.h> +#include <stdarg.h> + +void gpsd_report(int errlevel, const char *fmt, ... ) +/* assemble report in printf(3) style, use stderr or syslog */ +{ + va_list ap; + + va_start(ap, fmt) ; + vfprintf(stderr, fmt, ap); + va_end(ap); +} + |