]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/pkg/uclibc/lib/contrib/uclibc/libc/string/__xpg_basename.c
update
[l4.git] / l4 / pkg / uclibc / lib / contrib / uclibc / libc / string / __xpg_basename.c
index 2449d1d420405e70699072241d129e3f152058c1..2e7ade91311409ff5c288439355be111d46c348b 100644 (file)
@@ -5,7 +5,6 @@
  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  */
 
-#include "_string.h"
 #include <libgen.h>
 
 char *__xpg_basename(register char *path)
@@ -34,3 +33,7 @@ char *__xpg_basename(register char *path)
 
        return first;
 }
+#ifndef __USE_GNU
+# undef basename
+weak_alias(__xpg_basename,basename)
+#endif