Skip to content

Commit

Permalink
staging: comedi: comedi_fc: remove 'extern' from function prototypes
Browse files Browse the repository at this point in the history
The 'extern' is not needed in the prototypes for the exported functions
in the header. Remove it.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Mar 17, 2014
1 parent b6b9377 commit 8af9dd1
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions drivers/staging/comedi/drivers/comedi_fc.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@
#include "../comedidev.h"

/* Writes an array of data points to comedi's buffer */
extern unsigned int cfc_write_array_to_buffer(struct comedi_subdevice *subd,
void *data,
unsigned int num_bytes);
unsigned int cfc_write_array_to_buffer(struct comedi_subdevice *,
void *data, unsigned int num_bytes);

static inline unsigned int cfc_write_to_buffer(struct comedi_subdevice *subd,
unsigned short data)
Expand All @@ -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));
};

extern unsigned int cfc_read_array_from_buffer(struct comedi_subdevice *subd,
void *data,
unsigned int num_bytes);
unsigned int cfc_read_array_from_buffer(struct comedi_subdevice *,
void *data, unsigned int num_bytes);

extern unsigned int cfc_handle_events(struct comedi_device *dev,
struct comedi_subdevice *subd);
unsigned int cfc_handle_events(struct comedi_device *,
struct comedi_subdevice *);

static inline unsigned int cfc_bytes_per_scan(struct comedi_subdevice *subd)
{
Expand Down

0 comments on commit 8af9dd1

Please sign in to comment.