[PATCH 6/8] wined3d: Move wined3d_bit_scan() to public header.
Józef Kucia
joseph.kucia at gmail.com
Fri Jan 25 02:51:21 CST 2019
On Thu, Jan 24, 2019 at 5:29 PM Alexandre Julliard <julliard at winehq.org> wrote:
>
> Józef Kucia <jkucia at codeweavers.com> writes:
>
> > Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
> > ---
> > dlls/wined3d/wined3d_private.h | 7 -------
> > include/wine/wined3d.h | 7 +++++++
> > 2 files changed, 7 insertions(+), 7 deletions(-)
>
> This would require all users of that file to include wine/port.h:
>
> In file included from ../../../wine/dlls/d3d8/d3d8_private.h:38:0,
> from ../../../wine/dlls/d3d8/d3d8_main.c:24:
> ../../../wine/include/wine/wined3d.h: In function ‘wined3d_bit_scan’:
> ../../../wine/include/wine/wined3d.h:2787:22: warning: implicit declaration of function ‘ffs’ [-Wimplicit-function-declaration]
Thanks for catching this. It should be fixed in v2.
More information about the wine-devel
mailing list