diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-03-10 10:41:25 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-03-10 10:41:25 +0000 |
commit | 2b757d51018107dce6402af3b3a69eedab3592d1 (patch) | |
tree | b2d367fd65617495cf1e8e2beefffc382d0e8ddd /include/libiberty.h | |
parent | 5ed3d577ed5e3d3bd2c75d2a440ffe5076e4d9f9 (diff) | |
download | gcc-2b757d51018107dce6402af3b3a69eedab3592d1.zip gcc-2b757d51018107dce6402af3b3a69eedab3592d1.tar.gz gcc-2b757d51018107dce6402af3b3a69eedab3592d1.tar.bz2 |
lbasename.c: New file.
* libiberty/lbasename.c: New file.
* libiberty/Makefile.in: Update for lbasename.
* include/libiberty.h: Add lbasename.
Co-Authored-By: John David Anglin <dave@hiauly1.hia.nrc.ca>
From-SVN: r40363
Diffstat (limited to 'include/libiberty.h')
-rw-r--r-- | include/libiberty.h | 4 |
1 files changed, 4 insertions, 0 deletions
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. */ |