projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
710a182
)
staging: comedi: comedi_compat32.h: checkpatch.pl --strict cleanup
author
H Hartley Sweeten
<
[email protected]
>
Fri, 18 Jul 2014 21:28:16 +0000
(14:28 -0700)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 18 Jul 2014 23:10:40 +0000
(16:10 -0700)
Fix the checkpatch.pl --strict issues:
CHECK: extern prototypes should be avoided in .h files
Signed-off-by: H Hartley Sweeten <
[email protected]
>
Cc: Ian Abbott <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/comedi/comedi_compat32.h
patch
|
blob
|
history
diff --git
a/drivers/staging/comedi/comedi_compat32.h
b/drivers/staging/comedi/comedi_compat32.h
index 28e3c3059037a066ec70e01c538ff0c9a12d4148..2d0a6fcf60f3f24c6f349ecb8656f33c0fc137ba 100644
(file)
--- 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 */