From 5557f2ca9d526874a7fc499c1068ea93628a40fa Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Sun, 29 Jan 2023 01:09:00 -0500 Subject: Enable -Wmissing-prototypes. * Makefile.am: enable -Wmissing-prototypes * ddb/db_inout.h: Prototype kdb_kintr for entering into DDB. * ddb/db_mp.c Include ddb/db_input.h to get kdb_kintr. * i386/i386at/kd.h: Include ddb/input.h to get kdb_kintr. * linux/Makefrag.am: Disable some of the new warnings for linux drivers, otherwise we will get more and more noise. Message-Id: --- ddb/db_input.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ddb/db_input.h') diff --git a/ddb/db_input.h b/ddb/db_input.h index 77f07bb6..352f035e 100644 --- a/ddb/db_input.h +++ b/ddb/db_input.h @@ -23,6 +23,9 @@ #include +/* Needs to be implemented by each arch. */ +extern void kdb_kintr(void); + extern int db_readline (char *lstart, int lsize); extern void db_check_interrupt(void); -- cgit v1.2.3