aboutsummaryrefslogtreecommitdiff
path: root/include/libiberty.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@gnu.org>2001-08-10 23:46:15 +0000
committerAndrew Cagney <cagney@gnu.org>2001-08-10 23:46:15 +0000
commit067b07096416e46b4e958ac1bb71fd5f902f725d (patch)
tree08697f37dcc21d560a92dfca8374fe43d4ee921d /include/libiberty.h
parent5bb2a182c896699236e059fe95e22bacbbfee037 (diff)
downloadnewlib-067b07096416e46b4e958ac1bb71fd5f902f725d.zip
newlib-067b07096416e46b4e958ac1bb71fd5f902f725d.tar.gz
newlib-067b07096416e46b4e958ac1bb71fd5f902f725d.tar.bz2
(lbasename): Change function declaration to return a const char pointer.
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 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. */