about summary refs log tree commit diff
path: root/string
diff options
context:
space:
mode:
Diffstat (limited to 'string')
-rw-r--r--string/basename.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/string/basename.c b/string/basename.c
index 358fca7863..5ea1bb0b6a 100644
--- a/string/basename.c
+++ b/string/basename.c
@@ -1,5 +1,5 @@
 /* Return the name-within-directory of a file name.
-   Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1996,97,98,2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -37,3 +37,6 @@ basename (filename)
   char *p = strrchr (filename, '/');
   return p ? p + 1 : (char *) filename;
 }
+#ifdef _LIBC
+libc_hidden_def (basename)
+#endif