samples/sip_svc: Switch main return type to int

Zephyr now requires that main return int instead of void.

Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Keith Packard 2023-05-30 14:30:29 -07:00 committed by Carles Cufí
parent c09618cf63
commit 3f992162e7

View file

@ -42,7 +42,7 @@ void get_voltage_callback(uint32_t c_token, struct sip_svc_response *response)
k_sem_give(&(priv->semaphore)); k_sem_give(&(priv->semaphore));
} }
void main(void) int main(void)
{ {
void *mb_smc_ctrl = NULL; void *mb_smc_ctrl = NULL;
uint32_t mb_c_token = SIP_SVC_ID_INVALID; uint32_t mb_c_token = SIP_SVC_ID_INVALID;