[PATCH 43/44] hw/xfree86: nobus.c shouldn't define a static function

Keith Packard keithp at keithp.com
Wed Dec 11 12:24:15 PST 2013


Having this function be static generates a compiler warning.

Signed-off-by: Keith Packard <keithp at keithp.com>
---
 hw/xfree86/os-support/bus/nobus.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/hw/xfree86/os-support/bus/nobus.c b/hw/xfree86/os-support/bus/nobus.c
index dc36ecd..4872c5b 100644
--- a/hw/xfree86/os-support/bus/nobus.c
+++ b/hw/xfree86/os-support/bus/nobus.c
@@ -1,4 +1,7 @@
-static void
+void
+__noop_to_appease_ar__(void);
+
+void
 __noop_to_appease_ar__(void)
 {
     return;
-- 
1.8.4.4



More information about the xorg-devel mailing list