diff options
author | DJ Delorie <dj@redhat.com> | 2001-03-10 22:23:50 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2001-03-10 22:23:50 +0000 |
commit | 8aa30e60ce16468892f60cf7ea377f0d83861ab0 (patch) | |
tree | 2ca684a19f5fbfe38686f6691a143d2db61901e4 /include | |
parent | 21479deda01ad5fe23f41c69a46c10b7806ca5fa (diff) | |
download | gdb-8aa30e60ce16468892f60cf7ea377f0d83861ab0.zip gdb-8aa30e60ce16468892f60cf7ea377f0d83861ab0.tar.gz gdb-8aa30e60ce16468892f60cf7ea377f0d83861ab0.tar.bz2 |
merge from gcc
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/libiberty.h | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 21ce684..70009a4 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -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> * libiberty.h: Prototype C_alloca; define alloca to either diff --git a/include/libiberty.h b/include/libiberty.h index e4fc2af..c61c1f0 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -56,6 +56,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. */ |