aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-08-10 23:46:17 +0000
committerAndrew Cagney <cagney@redhat.com>2001-08-10 23:46:17 +0000
commit3ea71002e4722647f3fb74bd2834e4126b7bf943 (patch)
tree7bd31572030498595e78e35b8d5b45c9e617fe67 /include
parent1297a2f020b41485135f3e58100d689799785ee5 (diff)
downloadgdb-3ea71002e4722647f3fb74bd2834e4126b7bf943.zip
gdb-3ea71002e4722647f3fb74bd2834e4126b7bf943.tar.gz
gdb-3ea71002e4722647f3fb74bd2834e4126b7bf943.tar.bz2
(lbasename): Change function declaration to return a const char pointer.
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 8b89d97..305754f 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-10 Richard Sandiford <rsandifo@redhat.com>
* opcode/mips.h (INSN_GP32): Remove.
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. */