diff options
author | Emil Goode <emilgoode@gmail.com> | 2012-07-07 14:53:25 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-30 21:20:39 -0300 |
commit | cadc7920acd7d8fadfe98a33068af764e3247da0 (patch) | |
tree | f47eb715e9c6fa8b59b8365b2f1f7d8e2aea9193 /drivers | |
parent | a342daea70c4769ce7709c0f49aa17113228c1ed (diff) |
[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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/media/lirc/lirc_bt829.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |