util/bitscan: use correct signature for ffs/ffsll
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 9 Mar 2017 17:45:19 +0000 (17:45 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 13 Mar 2017 11:16:34 +0000 (11:16 +0000)
commita72ac981605d34be5b9da3d9ee8e43b81c5a5296
treec44fb29a3e3f14ffa565d25ccdf7e959a4b2719c
parentfb0832b86db07421d525ddd9633d247b70b897f9
util/bitscan: use correct signature for ffs/ffsll

Otherwise we'll get errors such as

error: conflicting types for ‘ffs’
error: conflicting types for ‘ffsll’

We might want to improve the heuristics and provide a definition only
when a native one is missing. We can address that at a later stage.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/util/bitscan.c
src/util/bitscan.h