mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 16:05:56 +08:00
merge from gcc
This commit is contained in:
@ -22,7 +22,7 @@ extern PTR memcpy PARAMS ((PTR, const PTR, size_t));
|
||||
|
||||
char *
|
||||
strdup(s)
|
||||
char *s;
|
||||
const char *s;
|
||||
{
|
||||
size_t len = strlen (s) + 1;
|
||||
char *result = (char*) malloc (len);
|
||||
|
Reference in New Issue
Block a user