aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-01-18 13:44:24 -0600
committerRob Landley <rob@landley.net>2015-01-18 13:44:24 -0600
commit468f155ecefec275e6d2299470d35bd912f69a94 (patch)
tree8d84fadd049c0d1475946706f64b9c7f19037a04 /toys
parente910826c812fcde8d122990a1e43e17f46b6d03f (diff)
downloadtoybox-468f155ecefec275e6d2299470d35bd912f69a94.tar.gz
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.
Diffstat (limited to 'toys')
-rw-r--r--toys/posix/dirname.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/toys/posix/dirname.c b/toys/posix/dirname.c
index 7f51e9f0..06470ad8 100644
--- a/toys/posix/dirname.c
+++ b/toys/posix/dirname.c
@@ -16,7 +16,6 @@ config DIRNAME
*/
#include "toys.h"
-#include <libgen.h>
void dirname_main(void)
{