From 938e0bfac75302b5056223ffee919d650fdb56be Mon Sep 17 00:00:00 2001 From: Peter Mikkelsen Date: Thu, 13 Nov 2025 21:05:27 +0100 Subject: Add _ macro to bin/main.c --- src/core/init.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/core/init.c') diff --git a/src/core/init.c b/src/core/init.c index 04a7135..3fd07a1 100644 --- a/src/core/init.c +++ b/src/core/init.c @@ -33,6 +33,12 @@ default_fatal(void *aux, char *msg) exit(EXIT_FAILURE); } +void +aplwc_boot(void) +{ + init_nls(); +} + void aplwc_init_fns(APLWCFunctions *fns) { @@ -45,8 +51,6 @@ aplwc_init_fns(APLWCFunctions *fns) APLWC * aplwc_init(APLWCFunctions *fns, void *aux) { - init_nls(); - size_t size = sizeof(APLWC) + (APLWC_ALIGNMENT - 1) + WS_START_SIZE + (WS_ALIGNMENT - 1); intptr_t base = (intptr_t)fns->alloc(aux, size); intptr_t aligned; -- cgit v1.2.3