diff options
author | Andrew Cagney <ac131313@redhat.com> | 2001-08-10 23:45:11 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@gcc.gnu.org> | 2001-08-10 23:45:11 +0000 |
commit | 0ef5547d0e0cadae708bbbf03e1f1a70719e54fe (patch) | |
tree | f087d043cd094d8bc386c9f73b83dc0e9e9eb2ad /include | |
parent | db80cc1f2a8b0c77b05a79d6fba30bf3c7f055b2 (diff) | |
download | gcc-0ef5547d0e0cadae708bbbf03e1f1a70719e54fe.tar.gz |
(lbasename): Change function declaration to return a const char pointer.
From-SVN: r44782
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/libiberty.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 9f34dcd13cd..f0d141e8ba8 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 effe5f628cc..8d46e375e3a 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. */ |