Skip to content

Commit

Permalink
[media] lirc: fix non-ANSI function declaration warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Emil Goode authored and Mauro Carvalho Chehab committed Jul 31, 2012
1 parent a342dae commit cadc792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/media/lirc/lirc_bt829.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit cadc792

Please sign in to comment.