diff --git a/include/ChangeLog b/include/ChangeLog index 8b89d97be..305754fec 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2001-06-13 Andrew Cagney + + * libiberty.h (lbasename): Change function declaration to return a + const char pointer. + 2001-08-10 Richard Sandiford * opcode/mips.h (INSN_GP32): Remove. diff --git a/include/libiberty.h b/include/libiberty.h index effe5f628..8d46e375e 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. */