From 1e7085d143765d51fb06130ca737180bc13131a2 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 20 Mar 2024 19:35:41 +0100 Subject: [PATCH] xfree86: os-support: bsd: fix missing prototypes Fix warnings on missing prototypes: > ../hw/xfree86/os-support/bsd/bsd_VTsw.c:56:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > xf86VTSwitchPending() > ^ > void > ../hw/xfree86/os-support/bsd/bsd_VTsw.c:67:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > xf86VTSwitchAway() > ^ > void > ../hw/xfree86/os-support/bsd/bsd_VTsw.c:82:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > xf86VTSwitchTo() > ^ > void > ../hw/xfree86/os-support/bsd/bsd_init.c:155:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > xf86OpenConsole() > ^ > void > ../hw/xfree86/os-support/bsd/bsd_init.c:322:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > xf86OpenPccons() > ^ > void > ../hw/xfree86/os-support/bsd/bsd_init.c:347:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > xf86OpenSyscons() > ^ > void > ../hw/xfree86/os-support/bsd/bsd_init.c:453:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > xf86OpenPcvt() > ^ > void > ../hw/xfree86/os-support/bsd/bsd_init.c:596:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > xf86CloseConsole() > ^ > void > ../hw/xfree86/os-support/bsd/bsd_init.c:673:11: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > xf86UseMsg() > ^ > void Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- hw/xfree86/os-support/bsd/bsd_init.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/xfree86/os-support/bsd/bsd_init.c b/hw/xfree86/os-support/bsd/bsd_init.c index 79247ef92..ae6f28b58 100644 --- a/hw/xfree86/os-support/bsd/bsd_init.c +++ b/hw/xfree86/os-support/bsd/bsd_init.c @@ -32,7 +32,6 @@ #include "os/cmdline.h" #include "compiler.h" - #include "xf86.h" #include "xf86Priv.h" #include "xf86_os_support.h"