Fix -Wimplicit-function-declaration (implicit declaration of function ‘strdup’) (#314)

This commit is contained in:
Anonymous Maarten 2026-07-25 20:01:37 +02:00 committed by GitHub
parent 9a05f6b3fa
commit 9491fc6543
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}