http://bugs.winehq.org/show_bug.cgi?id=34162
--- Comment #1 from Ken Thomases ken@codeweavers.com 2013-08-08 16:07:00 CDT --- Curious that it doesn't complain about the functions being undeclared. Presumably the functions use some type to declare their parameter and return types. I'll have to investigate.
It may also be that the right solution is to simply remove that code, since we don't properly deal with palette display modes, anyway.