From: Ian Abbott Date: Mon, 5 Nov 2007 11:47:53 +0000 (+0000) Subject: Made cfc_bytes_per_scan() 'static inline' instead of plain 'inline'. X-Git-Tag: v0_7_76~97 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1ef8af4b01cd0f62009bc21d66a6eb08d138ceb7;p=comedi.git Made cfc_bytes_per_scan() 'static inline' instead of plain 'inline'. --- diff --git a/comedi/drivers/comedi_fc.h b/comedi/drivers/comedi_fc.h index 299f4011..5d8fb4c1 100644 --- a/comedi/drivers/comedi_fc.h +++ b/comedi/drivers/comedi_fc.h @@ -51,7 +51,7 @@ extern unsigned int cfc_read_array_from_buffer(comedi_subdevice * subd, extern unsigned int cfc_handle_events(comedi_device * dev, comedi_subdevice * subd); -inline unsigned int cfc_bytes_per_scan(comedi_subdevice * subd) +static inline unsigned int cfc_bytes_per_scan(comedi_subdevice * subd) { int num_samples; int bits_per_sample;