From f3c7d7fbdea1f2bac81909116ddb747a1f8abdf5 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Wed, 22 Nov 2023 00:47:55 +0100 Subject: Meta: Cleanup of header files such that they are partially shared The /include directory contains definitons that both the kernel and libc need to be in sync. --- kernel/socket.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'kernel/socket.h') diff --git a/kernel/socket.h b/kernel/socket.h index 7be5571..5e8c3b1 100644 --- a/kernel/socket.h +++ b/kernel/socket.h @@ -85,8 +85,7 @@ int socket(int domain, int type, int protocol); int accept(int socket, struct sockaddr *address, socklen_t *address_len); int bind(int sockfd, const struct sockaddr *addr, socklen_t addrlen); struct INCOMING_TCP_CONNECTION * -handle_incoming_tcp_connection(u8 ip[4], u16 n_port, - u16 dst_port); +handle_incoming_tcp_connection(u8 ip[4], u16 n_port, u16 dst_port); struct INCOMING_TCP_CONNECTION *get_incoming_tcp_connection(u8 ip[4], u16 n_port); #endif -- cgit v1.2.3