summaryrefslogtreecommitdiff
path: root/include/libiberty.h
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-10 10:41:25 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-10 10:41:25 +0000
commit0bce9b89bb0f42bf6347e7478104c3d1f75f375c (patch)
treeb2d367fd65617495cf1e8e2beefffc382d0e8ddd /include/libiberty.h
parentead20cca421186138b3143e33ec5485d0ae9303d (diff)
downloadgcc-0bce9b89bb0f42bf6347e7478104c3d1f75f375c.tar.gz
* libiberty/lbasename.c: New file.
* libiberty/Makefile.in: Update for lbasename. * include/libiberty.h: Add lbasename. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40363 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include/libiberty.h')
-rw-r--r--include/libiberty.h4
1 files changed, 4 insertions, 0 deletions
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. */