(lbasename): Change function declaration to return a const char pointer.

This commit is contained in:
Andrew Cagney 2001-08-10 23:46:15 +00:00
parent 5bb2a182c8
commit 067b070964
2 changed files with 6 additions and 1 deletions

View File

@ -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> 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
* opcode/mips.h (INSN_GP32): Remove. * opcode/mips.h (INSN_GP32): Remove.

View File

@ -83,7 +83,7 @@ extern char *basename ();
/* A well-defined basename () that is always compiled in. */ /* 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. /* Concatenate an arbitrary number of strings, up to (char *) NULL.
Allocates memory using xmalloc. */ Allocates memory using xmalloc. */