mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 02:09:42 +00:00
[media] lirc: fix non-ANSI function declaration warning
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>
This commit is contained in:
parent
a342daea70
commit
cadc7920ac
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue