From 3f992162e7c1551fb25ab30df1e4efed376854f4 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 30 May 2023 14:30:29 -0700 Subject: [PATCH] samples/sip_svc: Switch main return type to int Zephyr now requires that main return int instead of void. Signed-off-by: Keith Packard --- samples/subsys/sip_svc/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/subsys/sip_svc/src/main.c b/samples/subsys/sip_svc/src/main.c index 4ce96ca63a..4042857925 100644 --- a/samples/subsys/sip_svc/src/main.c +++ b/samples/subsys/sip_svc/src/main.c @@ -42,7 +42,7 @@ void get_voltage_callback(uint32_t c_token, struct sip_svc_response *response) k_sem_give(&(priv->semaphore)); } -void main(void) +int main(void) { void *mb_smc_ctrl = NULL; uint32_t mb_c_token = SIP_SVC_ID_INVALID;