(lbasename): Change function declaration to return a const char pointer.
This commit is contained in:
parent
1297a2f020
commit
3ea71002e4
4 changed files with 14 additions and 4 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue