aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Cagney <ac131313@redhat.com>2001-08-10 23:45:11 +0000
committerAndrew Cagney <cagney@gcc.gnu.org>2001-08-10 23:45:11 +0000
commit0ef5547d0e0cadae708bbbf03e1f1a70719e54fe (patch)
treef087d043cd094d8bc386c9f73b83dc0e9e9eb2ad /include
parentdb80cc1f2a8b0c77b05a79d6fba30bf3c7f055b2 (diff)
downloadgcc-0ef5547d0e0cadae708bbbf03e1f1a70719e54fe.zip
gcc-0ef5547d0e0cadae708bbbf03e1f1a70719e54fe.tar.gz
gcc-0ef5547d0e0cadae708bbbf03e1f1a70719e54fe.tar.bz2
(lbasename): Change function declaration to return a const char pointer.
From-SVN: r44782
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/libiberty.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 9f34dcd..f0d141e 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-13 Andrew Cagney <ac131313@redhat.com>
+
+ * libiberty.h (lbasename): Change function declaration to return a
+ const char pointer.
+
2001-08-02 Mark Kettenis <kettenis@gnu.org>
* xregex.h (_REGEX_RE_COMP): Define.
diff --git a/include/libiberty.h b/include/libiberty.h
index effe5f6..8d46e37 100644
--- a/include/libiberty.h
+++ b/include/libiberty.h
@@ -83,7 +83,7 @@ extern char *basename ();
/* A well-defined basename () that is always compiled in. */
-extern char *lbasename PARAMS ((const char *));
+extern const char *lbasename PARAMS ((const char *));
/* Concatenate an arbitrary number of strings, up to (char *) NULL.
Allocates memory using xmalloc. */