diff options
author | Robert Norris <rw_norris@hotmail.com> | 2017-03-04 18:59:15 +0000 |
---|---|---|
committer | Fred Wright <fw@fwright.net> | 2017-03-04 14:20:59 -0800 |
commit | 62c08407f0683a83b543d22d1fa854825b431569 (patch) | |
tree | dce7e6ef80ed9baf3b812c8ef78c033d0b37e819 /libgps_shm.c | |
parent | 68372c3547c96a06f12bacd36ae97e9903537f9b (diff) | |
download | gpsd-62c08407f0683a83b543d22d1fa854825b431569.tar.gz |
This timeout parameter is used
Thus remove the 'UNUSED' compiler hint.
TESTED:
Still compiles without any complaints
Signed-off-by: Fred Wright <fw@fwright.net>
Diffstat (limited to 'libgps_shm.c')
-rw-r--r-- | libgps_shm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgps_shm.c b/libgps_shm.c index 6d065ced..992b32ae 100644 --- a/libgps_shm.c +++ b/libgps_shm.c @@ -161,7 +161,7 @@ void gps_shm_close(struct gps_data_t *gpsdata) (void)shmdt((const void *)PRIVATE(gpsdata)->shmseg); } -int gps_shm_mainloop(struct gps_data_t *gpsdata, int timeout UNUSED, +int gps_shm_mainloop(struct gps_data_t *gpsdata, int timeout, void (*hook)(struct gps_data_t *gpsdata)) /* run a shm main loop with a specified handler */ { |