[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] [PATCH 1/4] This timeout parameter is used
From: |
Robert Norris |
Subject: |
[gpsd-dev] [PATCH 1/4] This timeout parameter is used |
Date: |
Sat, 4 Mar 2017 18:59:15 +0000 |
Thus remove the 'UNUSED' compiler hint.
TESTED:
Still compiles without any complaints
---
libgps_shm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 */
{
--
2.11.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gpsd-dev] [PATCH 1/4] This timeout parameter is used,
Robert Norris <=