Commit 8af9dd12 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: comedi_fc: remove 'extern' from function prototypes

The 'extern' is not needed in the prototypes for the exported functions
in the header. Remove it.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b6b93773
...@@ -24,9 +24,8 @@ ...@@ -24,9 +24,8 @@
#include "../comedidev.h" #include "../comedidev.h"
/* Writes an array of data points to comedi's buffer */ /* Writes an array of data points to comedi's buffer */
extern unsigned int cfc_write_array_to_buffer(struct comedi_subdevice *subd, unsigned int cfc_write_array_to_buffer(struct comedi_subdevice *,
void *data, void *data, unsigned int num_bytes);
unsigned int num_bytes);
static inline unsigned int cfc_write_to_buffer(struct comedi_subdevice *subd, static inline unsigned int cfc_write_to_buffer(struct comedi_subdevice *subd,
unsigned short data) unsigned short data)
...@@ -40,12 +39,11 @@ static inline unsigned int cfc_write_long_to_buffer(struct comedi_subdevice ...@@ -40,12 +39,11 @@ static inline unsigned int cfc_write_long_to_buffer(struct comedi_subdevice
return cfc_write_array_to_buffer(subd, &data, sizeof(data)); return cfc_write_array_to_buffer(subd, &data, sizeof(data));
}; };
extern unsigned int cfc_read_array_from_buffer(struct comedi_subdevice *subd, unsigned int cfc_read_array_from_buffer(struct comedi_subdevice *,
void *data, void *data, unsigned int num_bytes);
unsigned int num_bytes);
extern unsigned int cfc_handle_events(struct comedi_device *dev, unsigned int cfc_handle_events(struct comedi_device *,
struct comedi_subdevice *subd); struct comedi_subdevice *);
static inline unsigned int cfc_bytes_per_scan(struct comedi_subdevice *subd) static inline unsigned int cfc_bytes_per_scan(struct comedi_subdevice *subd)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment