diff options
author | Jon Schlueter <jon.schlueter@gmail.com> | 2011-02-21 13:34:37 -0500 |
---|---|---|
committer | Jon Schlueter <jon.schlueter@gmail.com> | 2011-02-21 14:07:46 -0500 |
commit | 91924bb6fdd9c0707dbde82f57f76fd1bc74d153 (patch) | |
tree | ec6dc86936ebc85a9c37040e849ded97df8fd282 /doc | |
parent | 3c37f174d4d504a6835ea350ad2df014c2dcd78b (diff) | |
download | gpsd-91924bb6fdd9c0707dbde82f57f76fd1bc74d153.tar.gz |
change add_device,find_device all take const char *
Diffstat (limited to 'doc')
-rw-r--r-- | doc/explan_gpsd.c.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/explan_gpsd.c.xml b/doc/explan_gpsd.c.xml index 28e13590..c9b8c6ea 100644 --- a/doc/explan_gpsd.c.xml +++ b/doc/explan_gpsd.c.xml @@ -147,7 +147,7 @@ <entry><para>For every possible subscriber, check if the subscriber is in watcher mode and is interested in the gps device indicated in the calling parameter <function>gps_device_t</function>.</para><para>If so, send the data via a call to <function>throttled_write()</function>.</para></entry> </row> <row> - <entry><function>static struct gps_device_t *find_device(char *device_name)</function></entry> + <entry><function>static struct gps_device_t *find_device(const char *device_name)</function></entry> <entry><para>For every possible channel, check if the channel is allocated and if the device on the channel is the one passed to us.</para><para>If it is so, exit early and return the channel number.</para><para>If there is no match, return a NULL.</para></entry> </row> <row> @@ -169,7 +169,7 @@ number allocated.</para></entry> </row> <row> - <entry><function>static bool add_device(char *device_name)</function></entry> + <entry><function>static bool add_device(const char *device_name)</function></entry> <entry><para>Add a device to the pool of those available. If in nowait mode, open it immediately; otherwise initialize it and make it available for future watches, but don't open it yet.</para></entry> |