diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-07-18 21:28:16 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-18 23:10:40 (GMT) |
commit | 46fc601e6719b8637ef6d17b0bb263c3baf6b9f3 (patch) | |
tree | df779ee561ae75d805075702e1afcfc27c06abd7 | |
parent | 710a182b34e092184f051a8d6b08bdae0a18c16b (diff) | |
download | linux-46fc601e6719b8637ef6d17b0bb263c3baf6b9f3.tar.xz |
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>
-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 28e3c30..2d0a6fc 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 */ |