aboutsummaryrefslogtreecommitdiff
path: root/lib/portability.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/portability.c')
-rw-r--r--lib/portability.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/portability.c b/lib/portability.c
index 4fd1e224..7d6d85f3 100644
--- a/lib/portability.c
+++ b/lib/portability.c
@@ -6,14 +6,6 @@
#include "toys.h"
-#if defined(__GLIBC__)
-#include <libgen.h>
-char *basename(char *path)
-{
- return __xpg_basename(path);
-}
-#endif
-
#if !defined(__uClinux__)
pid_t xfork(void)
{