mirror of
https://github.com/yasm/yasm
synced 2026-08-26 22:26:05 -04:00
Fix -Wimplicit-function-declaration (implicit declaration of function ‘strdup’) (#314)
This commit is contained in:
parent
9a05f6b3fa
commit
9491fc6543
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ dir_privextern(yasm_object *object, yasm_valparamhead *valparams,
|
|||
if (!objext_valparams) {
|
||||
yasm_valparam *vp;
|
||||
|
||||
vp = yasm_vp_create_id(NULL, strdup("private_extern"), '$');
|
||||
vp = yasm_vp_create_id(NULL, yasm__xstrdup("private_extern"), '$');
|
||||
yasm_vps_append(&vps, vp);
|
||||
objext_valparams = &vps;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue