summaryrefslogtreecommitdiff
path: root/include/libiberty.h
diff options
context:
space:
mode:
authorcagney <cagney@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-10 23:45:11 +0000
committercagney <cagney@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-10 23:45:11 +0000
commit2bce2a69652f7711e0ba2f508be20d5138a76ec2 (patch)
treef087d043cd094d8bc386c9f73b83dc0e9e9eb2ad /include/libiberty.h
parentf1fd52792672b3c4e8be5e7745ac2137052aef12 (diff)
downloadgcc-2bce2a69652f7711e0ba2f508be20d5138a76ec2.tar.gz
(lbasename): Change function declaration to return a const char pointer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44782 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include/libiberty.h')
-rw-r--r--include/libiberty.h2
1 files changed, 1 insertions, 1 deletions
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. */