On Thu, Feb 15, 2024 at 08:17:28PM +0300, Serge Semin wrote: > Without having the putc() prototype forwardly declared the next > build-warning is printed: > > arch/mips/boot/compressed/uart-prom.c:6:6: warning: no previous prototype for ‘putc’ [-Wmissing-prototypes] > ... > > Fix that by adding the "decompress.h" header file with the putc() function > declaration to the source files which have the method redefined. > > Signed-off-by: Serge Semin <fancer.lancer@xxxxxxxxx> > --- > arch/mips/boot/compressed/uart-16550.c | 2 ++ > arch/mips/boot/compressed/uart-alchemy.c | 2 ++ > arch/mips/boot/compressed/uart-prom.c | 2 ++ > 3 files changed, 6 insertions(+) applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]