From 7c266cafed14b38c039091651069ae9888c3a8ae Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Wed, 17 Apr 2019 11:37:11 +0100 Subject: [PATCH] Fix old-style definition warning for xf86OSInputThreadInit() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ../hw/xfree86/os-support/stub/stub_init.c: In function ‘xf86OSInputThreadInit’: ../hw/xfree86/os-support/stub/stub_init.c:29:1: warning: old-style function definition [-Wold-style-definition] --- hw/xfree86/os-support/bsd/bsd_init.c | 2 +- hw/xfree86/os-support/hurd/hurd_init.c | 2 +- hw/xfree86/os-support/linux/lnx_init.c | 2 +- hw/xfree86/os-support/solaris/sun_vid.c | 2 +- hw/xfree86/os-support/stub/stub_init.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hw/xfree86/os-support/bsd/bsd_init.c b/hw/xfree86/os-support/bsd/bsd_init.c index 2cd2b57c7..6fdf6d4e6 100644 --- a/hw/xfree86/os-support/bsd/bsd_init.c +++ b/hw/xfree86/os-support/bsd/bsd_init.c @@ -663,7 +663,7 @@ xf86UseMsg() } void -xf86OSInputThreadInit() +xf86OSInputThreadInit(void) { return; } diff --git a/hw/xfree86/os-support/hurd/hurd_init.c b/hw/xfree86/os-support/hurd/hurd_init.c index ee8fe92c0..c1b632f19 100644 --- a/hw/xfree86/os-support/hurd/hurd_init.c +++ b/hw/xfree86/os-support/hurd/hurd_init.c @@ -89,7 +89,7 @@ xf86CloseConsole() } void -xf86OSInputThreadInit() +xf86OSInputThreadInit(void) { return; } diff --git a/hw/xfree86/os-support/linux/lnx_init.c b/hw/xfree86/os-support/linux/lnx_init.c index 9ef6a39b5..111b3b4e4 100644 --- a/hw/xfree86/os-support/linux/lnx_init.c +++ b/hw/xfree86/os-support/linux/lnx_init.c @@ -409,7 +409,7 @@ xf86UseMsg(void) } void -xf86OSInputThreadInit() +xf86OSInputThreadInit(void) { return; } diff --git a/hw/xfree86/os-support/solaris/sun_vid.c b/hw/xfree86/os-support/solaris/sun_vid.c index edb0a1172..2b48e66b0 100644 --- a/hw/xfree86/os-support/solaris/sun_vid.c +++ b/hw/xfree86/os-support/solaris/sun_vid.c @@ -74,7 +74,7 @@ xf86OSInitVidMem(VidMemInfoPtr pVidMem) /***************************************************************************/ void -xf86OSInputThreadInit() +xf86OSInputThreadInit(void) { /* * Need to enable in input thread as well, as Solaris kernel tracks diff --git a/hw/xfree86/os-support/stub/stub_init.c b/hw/xfree86/os-support/stub/stub_init.c index 1285ec482..f0d9039b9 100644 --- a/hw/xfree86/os-support/stub/stub_init.c +++ b/hw/xfree86/os-support/stub/stub_init.c @@ -26,7 +26,7 @@ xf86UseMsg(void) } void -xf86OSInputThreadInit() +xf86OSInputThreadInit(void) { return; }