From: Emil Goode Date: Sat, 7 Jul 2012 17:53:25 +0000 (-0300) Subject: [media] lirc: fix non-ANSI function declaration warning X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cadc7920acd7d8fadfe98a33068af764e3247da0;p=openwrt%2Fstaging%2Fblogic.git [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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/lirc/lirc_bt829.c b/drivers/staging/media/lirc/lirc_bt829.c index 4d20e9f74118..951007a3fc96 100644 --- 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;