Created attachment 80165 [details] Patch fixing the issue. From NetBSD's xsrc: add some prototypes to via_driver.h Originally from Christos Zoulas <christos@NetBSD.org>
Committed, thanks for the patch.
What was the issue here? This patch breaks compile for me. Some of the added prototypes are for static functions, such as ViaDisplayEnableDVO. gcc doesn't accept non-static prototypes for static functions.
Created attachment 80289 [details] [review] fixup patch oops, I should have paid more attention. Here's a fixup patch, I'll push it later.
Created attachment 80298 [details] [review] Cleanup patch I'm sorry for the incorrect patch. I should have checked it more closely. It seems it was mostly needed for an older version of the driver, and has survived the merging process when the latest version was imported. I think the cleanup patch can remove even more lines; suggestion attached.
fixed by 200cdb68353e638c78582c0ae571e59c96cfea64
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.