Lift the basename/libgen.h shenanigans back out of portability.c and make it a static...
authorRob Landley <rob@landley.net>
Sun, 18 Jan 2015 19:44:24 +0000 (13:44 -0600)
committerRob Landley <rob@landley.net>
Sun, 18 Jan 2015 19:44:24 +0000 (13:44 -0600)
commit468f155ecefec275e6d2299470d35bd912f69a94
tree8d84fadd049c0d1475946706f64b9c7f19037a04
parente910826c812fcde8d122990a1e43e17f46b6d03f
Lift the basename/libgen.h shenanigans back out of portability.c and make it a static inline in portability.h, and prototype dirname() while we're at it.
lib/portability.c
lib/portability.h
toys/posix/dirname.c