From 9491fc65438225ae4cc40211aa56a07d6f5d2d80 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Sat, 25 Jul 2026 20:01:37 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20-Wimplicit-function-declaration=20(implic?= =?UTF-8?q?it=20declaration=20of=20function=20=E2=80=98strdup=E2=80=99)=20?= =?UTF-8?q?(#314)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libyasm/section.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libyasm/section.c b/libyasm/section.c index 1459eccc..dd067e07 100644 --- a/libyasm/section.c +++ b/libyasm/section.c @@ -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; }