From: H Hartley Sweeten Date: Fri, 18 Jul 2014 21:28:16 +0000 (-0700) Subject: staging: comedi: comedi_compat32.h: checkpatch.pl --strict cleanup X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=46fc601e6719b8637ef6d17b0bb263c3baf6b9f3;p=linux-beck.git 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 Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- 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 */