summaryrefslogtreecommitdiff
path: root/gpspacket.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-08-27 20:26:01 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-08-27 20:26:56 -0400
commit068a90a92337d8476a69ed0048723e7587f6209f (patch)
treefdf92a4fad19701d7469d827feeb4ae5b51c4fb2 /gpspacket.c
parent7b0feb181260ff4e005547a3ae870ebc545b1e85 (diff)
downloadgpsd-068a90a92337d8476a69ed0048723e7587f6209f.tar.gz
Now that the transition is done we can restore the gpsd_report name.
All regression tests pass.
Diffstat (limited to 'gpspacket.c')
-rw-r--r--gpspacket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpspacket.c b/gpspacket.c
index 4410e4fa..7e8aa271 100644
--- a/gpspacket.c
+++ b/gpspacket.c
@@ -19,13 +19,13 @@ static void basic_report(const char *buf)
(void)fputs(buf, stderr);
}
-void errout_reset(struct errout_t *errout)
+void errout_reset(struct gpsd_errout_t *errout)
{
errout->debug = 0;
errout->report = basic_report;
}
-void gpsd_notify(const struct errout_t *errout UNUSED,
+void gpsd_report(const struct gpsd_errout_t *errout UNUSED,
int errlevel, const char *fmt, ... )
{
char buf[BUFSIZ];