From 2b757d51018107dce6402af3b3a69eedab3592d1 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sat, 10 Mar 2001 10:41:25 +0000 Subject: 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 From-SVN: r40363 --- include/ChangeLog | 5 +++++ include/libiberty.h | 4 ++++ 2 files changed, 9 insertions(+) (limited to 'include') diff --git a/include/ChangeLog b/include/ChangeLog index b290529fabd..57e64be08be 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2001-03-10 Neil Booth + John David Anglin + + * include/libiberty.h: Add lbasename. + 2001-03-06 Zack Weinberg * libiberty.h: Prototype C_alloca; define alloca to either diff --git a/include/libiberty.h b/include/libiberty.h index e4fc2af20c9..c61c1f012cb 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. */ -- cgit v1.2.1