gallium/hud: Fixes compile error in hud/hud_context.c:
authorYonggang Luo <luoyonggang@gmail.com>
Tue, 30 Aug 2022 18:05:35 +0000 (02:05 +0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 15:34:11 +0000 (15:34 +0000)
commitb66282d4430c852936a0a317b29474ae1bf9e061
treea5408d87f9c14ee383d966123c2dd93154449fca
parentded4fc48a37294f85df363e030125a55df1b0882
gallium/hud: Fixes compile error in hud/hud_context.c:

../../src/gallium/auxiliary/hud/hud_context.c:1017:1: error: static declaration of 'access' follows non-static declaration
These error will shown when any header #include <io.h>

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18333>
src/gallium/auxiliary/hud/hud_context.c