i shouldn't have made comedi_internal_data_read() inline, it's too long,
authorFrank Mori Hess <fmhess@speakeasy.net>
Sat, 3 May 2003 14:57:15 +0000 (14:57 +0000)
committerFrank 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

index 4b5fe5120f73e747fd603bac49d8bf23c76fcf33..689669ff207c895d4b82d67644307ff7bdfc2723 100644 (file)
@@ -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;