summaryrefslogtreecommitdiff
path: root/gpsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpsd.c')
-rw-r--r--gpsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpsd.c b/gpsd.c
index 3e39ff7a..de641b8e 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -594,7 +594,7 @@ static void deactivate_device(struct gps_device_t *device)
/* *INDENT-OFF* */
/*@ -globstate @*/
-/*@null@*//*@observer@*/ static struct gps_device_t *find_device(char
+/*@null@*//*@observer@*/ static struct gps_device_t *find_device(const char
*device_name)
/* find the device block for an existing device name */
{
@@ -622,7 +622,7 @@ static bool open_device(struct gps_device_t *device)
return true;
}
-static bool add_device(char *device_name)
+static bool add_device(const char *device_name)
/* add a device to the pool; open it right away if in nowait mode */
{
struct gps_device_t *devp;