fix: align runtime return types with El compiler output #18

Merged
will.anderson merged 1 commits from fix/ci-openssl-linker into dev 2026-05-07 01:04:31 +00:00
Owner

El compiler generates println, print, exit_program, http_set_handler, http_serve, http_set_handler_v2, http_serve_v2 as el_val_t-returning. Runtime had them as void — conflicting types broke el-install compilation. Changed all to return el_val_t (returning 0 for side-effect functions).

El compiler generates println, print, exit_program, http_set_handler, http_serve, http_set_handler_v2, http_serve_v2 as el_val_t-returning. Runtime had them as void — conflicting types broke el-install compilation. Changed all to return el_val_t (returning 0 for side-effect functions).
will.anderson added 1 commit 2026-05-07 01:00:49 +00:00
fix: align runtime function return types with El compiler output
El SDK CI - dev / build-and-test (pull_request) Successful in 3m16s
60ad7f2f6b
El compiler generates calls to println, print, exit_program,
http_set_handler, http_serve, http_set_handler_v2, and http_serve_v2
as el_val_t-returning functions. The runtime declared them void,
causing conflicting-type errors when el-install.c was compiled.

Change all seven to return el_val_t (side-effect functions return 0).
Also update el_runtime.h declarations to match.
will.anderson merged commit bcfb33ea83 into dev 2026-05-07 01:04:31 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: neuron-technologies/el#18