diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-01-02 22:38:35 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-01-02 22:38:35 +0000 |
commit | 5f8acd312cfcda3f71349f82705ae04744bcea71 (patch) | |
tree | e96d7d5ba5a3f41ff2d070cc641b429693b33f0b /xgps.c | |
parent | 628bf73f3dd3af06eadd7e7f36a2dee8ddf6737a (diff) | |
download | gpsd-5f8acd312cfcda3f71349f82705ae04744bcea71.tar.gz |
Raw hook now has an integer return type.
Diffstat (limited to 'xgps.c')
-rw-r--r-- | xgps.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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[]) |