merge from gcc

This commit is contained in:
DJ Delorie 2001-03-10 22:23:16 +00:00
parent e2f2a27ee8
commit 6a6a6fa2ae
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
John David Anglin <dave@hiauly1.hia.nrc.ca>
* include/libiberty.h: Add lbasename.
2001-03-06 Zack Weinberg <zackw@stanford.edu> 2001-03-06 Zack Weinberg <zackw@stanford.edu>
* libiberty.h: Prototype C_alloca; define alloca to either * libiberty.h: Prototype C_alloca; define alloca to either

View File

@ -56,6 +56,10 @@ extern char *basename ();
# endif # endif
#endif #endif
/* A well-defined basename () that is always compiled in. */
extern char *lbasename PARAMS ((const char *));
/* Concatenate an arbitrary number of strings, up to (char *) NULL. /* Concatenate an arbitrary number of strings, up to (char *) NULL.
Allocates memory using xmalloc. */ Allocates memory using xmalloc. */