Skip to content

Commit

Permalink
Remove KINC_FUNC from function definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Aug 23, 2024
1 parent 9632698 commit 782a0d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/kinc/network/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ static int resolveAddress(const char *url, int port, struct addrinfo **result) {
}
#endif

KINC_FUNC bool kinc_socket_bind(kinc_socket_t *sock) {
bool kinc_socket_bind(kinc_socket_t *sock) {
#if defined(KINC_WINDOWS) || defined(KINC_WINDOWSAPP) || defined(KINC_POSIX)
struct sockaddr_in address;
address.sin_family = sock->family == KINC_SOCKET_FAMILY_IP4 ? AF_INET : AF_INET6;
Expand All @@ -238,7 +238,7 @@ KINC_FUNC bool kinc_socket_bind(kinc_socket_t *sock) {
#endif
}

KINC_FUNC void kinc_socket_options_set_defaults(kinc_socket_options_t *options) {
void kinc_socket_options_set_defaults(kinc_socket_options_t *options) {
options->non_blocking = true;
options->broadcast = false;
options->tcp_no_delay = false;
Expand Down

0 comments on commit 782a0d1

Please sign in to comment.