Skip to content

Commit 6226bb1

Browse files
tpambordkalowsk
authored andcommitted
net: sockets_service: Fix function signature
Update the socket_service_thread function signature to match the expected k_thread_entry_t type: typedef void (*k_thread_entry_t)(void *p1, void *p2, void *p3); Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
1 parent 19a3b21 commit 6226bb1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

subsys/net/lib/sockets/sockets_service.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,12 @@ static int trigger_work(struct zsock_pollfd *pev)
165165
return call_work(pev, event);
166166
}
167167

168-
static void socket_service_thread(void)
168+
static void socket_service_thread(void *p1, void *p2, void *p3)
169169
{
170+
ARG_UNUSED(p1);
171+
ARG_UNUSED(p2);
172+
ARG_UNUSED(p3);
173+
170174
int ret, i, fd, count = 0;
171175
zvfs_eventfd_t value;
172176

0 commit comments

Comments
 (0)