summaryrefslogtreecommitdiff
path: root/xgps.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-01-02 22:38:35 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-01-02 22:38:35 +0000
commit5f8acd312cfcda3f71349f82705ae04744bcea71 (patch)
treee96d7d5ba5a3f41ff2d070cc641b429693b33f0b /xgps.c
parent628bf73f3dd3af06eadd7e7f36a2dee8ddf6737a (diff)
downloadgpsd-5f8acd312cfcda3f71349f82705ae04744bcea71.tar.gz
Raw hook now has an integer return type.
Diffstat (limited to 'xgps.c')
-rw-r--r--xgps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xgps.c b/xgps.c
index 8a8561dc..a0d1c6ce 100644
--- a/xgps.c
+++ b/xgps.c
@@ -196,7 +196,7 @@ static void handle_input(XtPointer client_data UNUSED, int *source UNUSED,
gps_poll(gpsdata);
}
-static void update_panel(char *message)
+static int update_panel(char *message)
/* runs on each sentence */
{
int i, newstate;
@@ -265,6 +265,7 @@ static void update_panel(char *message)
XtRemoveTimeOut(timeout);
timeout = XtAppAddTimeOut(app, 2000, handle_time_out, NULL);
+ return 0;
}
int main(int argc, char *argv[])