summaryrefslogtreecommitdiff
path: root/driver_superstar2.c
diff options
context:
space:
mode:
authorJon Schlueter <jschlueter@navigationsolutions.com>2015-01-09 14:01:12 -0500
committerJon Schlueter <jschlueter@navigationsolutions.com>2015-01-09 14:01:12 -0500
commit896e7d61b1eff092d21e8ab47a422232c0772bdb (patch)
tree774518624d278f49e74703911251f40b98296521 /driver_superstar2.c
parent08bc6011e152dde5db2337e62aa31fbe451d5321 (diff)
downloadgpsd-896e7d61b1eff092d21e8ab47a422232c0772bdb.tar.gz
Warning hunting cleanup in driver_superstar2.c
Put matching ifdef guards around superstar2_control_send declaration
Diffstat (limited to 'driver_superstar2.c')
-rw-r--r--driver_superstar2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver_superstar2.c b/driver_superstar2.c
index cf631c8b..5334e9a5 100644
--- a/driver_superstar2.c
+++ b/driver_superstar2.c
@@ -37,7 +37,9 @@ static gps_mask_t superstar2_msg_ephemeris(struct gps_device_t *,
/*
* These methods may be called elsewhere in gpsd
*/
+#ifdef CONTROLSEND_ENABLE
static ssize_t superstar2_control_send(struct gps_device_t *, char *, size_t);
+#endif /* CONTROLSEND_ENABLE */
static void superstar2_event_hook(struct gps_device_t *, event_t);
static ssize_t superstar2_write(struct gps_device_t *, char *, size_t);
#ifdef RECONFIGURE_ENABLE