projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9860fab
)
i shouldn't have made comedi_internal_data_read() inline, it's too long,
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 3 May 2003 14:57:15 +0000
(14:57 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 3 May 2003 14:57:15 +0000
(14:57 +0000)
and it causes gcc 2.9 to produce a bogus warning
lib/data.c
patch
|
blob
|
history
diff --git
a/lib/data.c
b/lib/data.c
index 4b5fe5120f73e747fd603bac49d8bf23c76fcf33..689669ff207c895d4b82d67644307ff7bdfc2723 100644
(file)
--- a/
lib/data.c
+++ b/
lib/data.c
@@
-84,12
+84,12
@@
int comedi_data_write(comedi_t *it,unsigned int subdev,unsigned int chan,unsigne
}
}
-static in
line in
t 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;