lantiq: lzma-loader: fix mismatched function declaration

This fix compilation warning:
printf.c:14:13: warning: type of 'board_putc' does not match original declaration [-Wlto-type-mismatch]
   14 | extern void board_putc(int ch);
      |             ^
board-lantiq.c:24:6: note: type mismatch in parameter 1
   24 | void board_putc(char c)
      |      ^
board-lantiq.c:24:6: note: type 'char' should match type 'int'
board-lantiq.c:24:6: note: 'board_putc' was previously declared here

Fixes: a328b6831c ("lantiq: bring back okli loader")
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
This commit is contained in:
Aleksander Jan Bajkowski 2023-05-06 16:49:40 +02:00 committed by Christian Marangi
parent dc6b55e21f
commit f1287e9bc6
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

View File

@ -11,7 +11,7 @@
#include "printf.h"
extern void board_putc(int ch);
extern void board_putc(char ch);
/* this is the maximum width for a variable */
#define LP_MAX_BUF 256