From e75f09dcf91969505e591eb599fb04aab6e82442 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sat, 3 May 2003 14:57:15 +0000 Subject: [PATCH] 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 --- lib/data.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/data.c b/lib/data.c index 4b5fe51..689669f 100644 --- 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 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; -- 2.26.2