xstrdup now takes a const pointer as an argument.
This commit is contained in:
parent
54ef13bf75
commit
8ea23d9ec3
2 changed files with 2 additions and 2 deletions
|
|
@ -127,7 +127,7 @@ xrealloc (p, n)
|
|||
|
||||
/* Duplicate a string */
|
||||
|
||||
char *xstrdup(char *s)
|
||||
char *xstrdup(const char *s)
|
||||
{
|
||||
char *p;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue