diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-07-18 14:28:16 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-18 16:10:40 -0700 |
commit | 46fc601e6719b8637ef6d17b0bb263c3baf6b9f3 (patch) | |
tree | df779ee561ae75d805075702e1afcfc27c06abd7 /drivers/staging/comedi/comedi_compat32.h | |
parent | 710a182b34e092184f051a8d6b08bdae0a18c16b (diff) |
staging: comedi: comedi_compat32.h: checkpatch.pl --strict cleanup
Fix the checkpatch.pl --strict issues:
CHECK: extern prototypes should be avoided in .h files
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi/comedi_compat32.h')
-rw-r--r-- | drivers/staging/comedi/comedi_compat32.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/comedi/comedi_compat32.h b/drivers/staging/comedi/comedi_compat32.h index 28e3c3059037..2d0a6fcf60f3 100644 --- a/drivers/staging/comedi/comedi_compat32.h +++ b/drivers/staging/comedi/comedi_compat32.h @@ -25,8 +25,7 @@ #ifdef CONFIG_COMPAT struct file; -extern long comedi_compat_ioctl(struct file *file, unsigned int cmd, - unsigned long arg); +long comedi_compat_ioctl(struct file *, unsigned int cmd, unsigned long arg); #else /* CONFIG_COMPAT */ |