1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

* string/basename.c (basename): Cast FILENAME to char * for return.

* Makerules ($(libdir)/libc.so): Put $(rtld-installed) name between
	libc.so and libc.a in the deps.
This commit is contained in:
Roland McGrath
1996-06-11 21:33:17 +00:00
parent 852fc4b91e
commit d8c7ef98c1
3 changed files with 11 additions and 2 deletions

View File

@ -23,5 +23,5 @@ char *
basename (const char *filename)
{
char *p = strrchr (filename, '/');
return p ? p + 1 : filename;
return p ? p + 1 : (char *) filename;
}