Created attachment 14868 [details] [review] 0001-Ansify-libAppleWM.patch Special attention may be required here due to functions with arguments of type short. proto/applewmproto/applewm.h already declares ansi prototypes with short arguments, so, theoretically, this patch should be correct, but there may exist problems (probably not, at least with gcc, as the functions had a prototype).
Already commited to git master. Problems would occur if a C file made calls without including the proper header (as it would call with int arguments), or if source with the function definitions did not include the header with the function prototypes, as it "should" generate a function that expected int arguments, due to using K&R function definition.
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.