i shouldn't have made comedi_internal_data_read() inline, it's too long,
and it causes gcc 2.9 to produce a bogus warning
This commit is contained in:
parent
9860fabdf2
commit
e75f09dcf9
1 changed files with 2 additions and 2 deletions
|
@ -84,12 +84,12 @@ int comedi_data_write(comedi_t *it,unsigned int subdev,unsigned int chan,unsigne
|
|||
}
|
||||
}
|
||||
|
||||
static inline int comedi_internal_data_read_n(comedi_t *it,
|
||||
static int comedi_internal_data_read_n(comedi_t *it,
|
||||
unsigned int subdev, unsigned int chanspec, lsampl_t *data,
|
||||
unsigned int n)
|
||||
{
|
||||
subdevice *s;
|
||||
|
||||
|
||||
if(!valid_subd(it,subdev))
|
||||
return -1;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue