diff options
| author | 2025-09-15 10:46:09 +0200 | |
|---|---|---|
| committer | 2025-09-15 10:46:09 +0200 | |
| commit | 7b1849402f33938aed8065ac9f4fab2ee8f22966 (patch) | |
| tree | 82e1b72a08560f6a9410b30431f77aa398f59069 /c.c | |
| parent | 474c9bc73c79ac7f366e590506718d571525ad5d (diff) | |
a little refactoring and cleanup
Diffstat (limited to 'c.c')
| -rw-r--r-- | c.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3540,7 +3540,7 @@ docomp(struct comp *cm) decl.isdef = st.varini; if (st.funcdef) { const struct typedata *td = &typedata[decl.ty.dat]; - struct function fn = { cm->fnarena, decl.name, .globl = decl.scls != SCSTATIC }; + struct function fn = { &cm->fnarena, decl.name, .globl = decl.scls != SCSTATIC }; fn.fnty = decl.ty; fn.retty = td->ret; decl.isdef = 1; |