summaryrefslogtreecommitdiff
path: root/report.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2004-09-29 20:08:45 +0000
committerEric S. Raymond <esr@thyrsus.com>2004-09-29 20:08:45 +0000
commit262dad27cbca1f09ab92c1fae7879c665bb2d0fc (patch)
treeb9739209a2f026383dd4ab807031367c05305a8a /report.c
parent53d48e566f51fadc316dd85beeebc5be2d912d16 (diff)
downloadgpsd-262dad27cbca1f09ab92c1fae7879c665bb2d0fc.tar.gz
More dependency trimming.
Diffstat (limited to 'report.c')
-rw-r--r--report.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/report.c b/report.c
index 10effec5..bf97134f 100644
--- a/report.c
+++ b/report.c
@@ -1,12 +1,8 @@
/*
- * Stub function, only here becauuse the linker wants to see it even if
+ * Stub function, only here because 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, ... )
@@ -14,7 +10,7 @@ void gpsd_report(int errlevel, const char *fmt, ... )
{
va_list ap;
- va_start(ap, fmt) ;
+ va_start(ap, fmt);
vfprintf(stderr, fmt, ap);
va_end(ap);
}