harec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f089da6bb4792ea99b6521f2ab2feb41a022e320
parent 1e68f9f1ce54c93a10c54735c33cb1e043f82ee7
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 31 Jan 2021 11:28:25 -0500

typedefs: fix function params

Diffstat:
Msrc/typedef.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/typedef.c b/src/typedef.c @@ -227,6 +227,8 @@ emit_type(const struct type *type, FILE *out) } else if (type->func.variadism == VARIADISM_C) { emit_type(param->type, out); fprintf(out, ", ..."); + } else { + emit_type(param->type, out); } } fprintf(out, ") ");