more deconstifying sr_dev_inst for dev_acquisition_stop()

This commit is contained in:
Bert Vermeulen 2012-11-06 19:32:53 +01:00
parent 7a36037546
commit 642e9d623c
4 changed files with 4 additions and 4 deletions

View File

@ -89,7 +89,7 @@ static void receive_line(const struct sr_dev_inst *sdi)
SR_PRIV int agdmm_receive_data(int fd, int revents, void *cb_data)
{
const struct sr_dev_inst *sdi;
struct sr_dev_inst *sdi;
struct dev_context *devc;
int len;

View File

@ -307,7 +307,7 @@ static void handle_line(const struct sr_dev_inst *sdi)
SR_PRIV int fluke_receive_data(int fd, int revents, void *cb_data)
{
const struct sr_dev_inst *sdi;
struct sr_dev_inst *sdi;
struct dev_context *devc;
int len;
int64_t now, elapsed;

View File

@ -391,7 +391,7 @@ static void handle_new_data(rs_dev_ctx *devc, int fd)
SR_PRIV int radioshack_receive_data(int fd, int revents, void *cb_data)
{
const struct sr_dev_inst *sdi;
struct sr_dev_inst *sdi;
struct dev_context *devc;
if (!(sdi = cb_data))

View File

@ -104,7 +104,7 @@ static void handle_new_data(struct dev_context *devc, int fd)
SR_PRIV int tekpower_dmm_receive_data(int fd, int revents, void *cb_data)
{
const struct sr_dev_inst *sdi;
struct sr_dev_inst *sdi;
struct dev_context *devc;
if (!(sdi = cb_data))