summaryrefslogtreecommitdiff
path: root/xgps.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-17 10:16:23 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-17 10:16:23 +0000
commit6dd560b389a7ed2dbbfcb6485342745ceedbbe91 (patch)
tree642527bb30bf0507434f018fcc0f0c8a1654a53b /xgps.c
parent9cdbb998794f19a64b5597002cbf8ade0938357a (diff)
downloadgpsd-6dd560b389a7ed2dbbfcb6485342745ceedbbe91.tar.gz
Disentangle the packet raw hook used on the client side...
...from the internals of gpsd. Besides being better factoring, this will give us better control of the daemon's report-generation policy in the future. All regression tests pass. Codebase splints clean.
Diffstat (limited to 'xgps.c')
-rw-r--r--xgps.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xgps.c b/xgps.c
index d9e30014..a5150faa 100644
--- a/xgps.c
+++ b/xgps.c
@@ -871,8 +871,7 @@ handle_input(XtPointer client_data UNUSED, int *source UNUSED, XtInputId *id UNU
/* runs on each sentence */
static void
-update_panel(struct gps_data_t *gpsdata, char *message,
- size_t len UNUSED, int level UNUSED)
+update_panel(struct gps_data_t *gpsdata, char *message, size_t len UNUSED)
{
unsigned int i;
int newstate;