projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a342dae
)
[media] lirc: fix non-ANSI function declaration warning
author
Emil Goode
<emilgoode@gmail.com>
Sat, 7 Jul 2012 17:53:25 +0000
(14:53 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 31 Jul 2012 00:20:39 +0000
(21:20 -0300)
Sparse is warning about non-ANSI function declaration.
Add void to the parameterless function.
drivers/staging/media/lirc/lirc_bt829.c:174:22: warning:
non-ANSI function declaration of function 'poll_main'
Signed-off-by: Emil Goode <emilgoode@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/lirc/lirc_bt829.c
patch
|
blob
|
history
diff --git
a/drivers/staging/media/lirc/lirc_bt829.c
b/drivers/staging/media/lirc/lirc_bt829.c
index
4d20e9f
..
951007a
100644
(file)
--- a/
drivers/staging/media/lirc/lirc_bt829.c
+++ b/
drivers/staging/media/lirc/lirc_bt829.c
@@
-171,7
+171,7
@@
static void cycle_delay(int cycle)
}
-static int poll_main()
+static int poll_main(
void
)
{
unsigned char status_high, status_low;