From 46fc601e6719b8637ef6d17b0bb263c3baf6b9f3 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Fri, 18 Jul 2014 14:28:16 -0700 Subject: [PATCH] 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 --- drivers/staging/comedi/comedi_compat32.h | 3 +-- 1 file changed, 1 insertion(+), 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 */ -- 2.39.5