utils: add a safe version of basename
So we don't need to worry about the libgen.h include game.
And we can switch trunkname over to that, making it a bit simpler.
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
Loading
Please register or sign in to comment