summaryrefslogtreecommitdiff
path: root/include/libiberty.h
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
commit091f45b91975b8a3fc0f8e22b8cb69e97bba2868 (patch)
tree0ad8a9ff649bfeb451d7ea0662be13bb742c7c76 /include/libiberty.h
parentb8e9b5c7018dbb63275f2e777cf1067bee458aa9 (diff)
downloadgdb-091f45b91975b8a3fc0f8e22b8cb69e97bba2868.tar.gz
(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 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. */