Fixes warning: implicit declaration of function
nv_driver.c:1443:9: warning: implicit declaration of function ‘wfbScreenInit’; did you mean ‘fbScreenInit’? [-Wimplicit-function-declaration] ret = wfbScreenInit(pScreen, FBStart, pScrn->virtualX, ^~~~~~~~~~~~~ fbScreenInit
In commit https://gitlab.freedesktop.org/sergiomb/xf86-video-nouveau/-/commit/794a27724fb9ab173dc7ea8062730797e1b4de04 "nv50: use libwfb for pixmap access when driver pixmaps enabled", authored 15 years ago, it is missing the declaration of wfbScreenInit
This warning was harmless until Gcc and Modern C make implicit "declaration of function" an error.
We got several attempts to fix this, one is this commit [1] which is in Xwayland branch but not in xorg-x11-server branch and IMO should be reverted.
Signed-off-by: Sérgio M. Basto sergio@serjux.com