diff options
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/libiberty.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 10bb1b2..ad96520 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2001-07-19 David O'Brien <obrien@FreeBSD.org> + + * libiberty.h: Add lbasename. + 2001-06-07 Alan Modra <amodra@bigpond.net.au> * Many files: Update copyright notices. diff --git a/include/libiberty.h b/include/libiberty.h index 1bc2b7d..d31ac77 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -81,6 +81,10 @@ extern char *basename (); # 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. Allocates memory using xmalloc. */ |