diff --git a/src/lj_ccall.c b/src/lj_ccall.c index 799be48724..25e938cb7e 100644 --- a/src/lj_ccall.c +++ b/src/lj_ccall.c @@ -848,7 +848,8 @@ static unsigned int ccall_classify_struct(CTState *cts, CType *ct, CType *ctf) return 0; /* Struct is in GPRs. */ } -void ccall_copy_struct(CCallState *cc, CType *ctr, void *dp, void *sp, int ft) +static void ccall_copy_struct(CCallState *cc, CType *ctr, void *dp, void *sp, + int ft) { if (LJ_ABI_SOFTFP ? ft : ((ft & 3) == FTYPE_FLOAT || (ft >> 2) == FTYPE_FLOAT)) {