summaryrefslogtreecommitdiff
path: root/include/socket_if.h
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-09 16:05:46 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-09 16:05:46 +0200
commit08ce54211ce4b8d6092321ca1b28773a680ddc45 (patch)
tree9cf7eb2702a408743d59e207e24f8fb1e5ada31d /include/socket_if.h
parent795ffc5e62e8ba383575dbcd9943a580d4bd3358 (diff)
Added missing function prototype signatures.
Corrected socket_broadcast name to socket_broadcast4 in socket_if.h. Added const to fmt_str.
Diffstat (limited to 'include/socket_if.h')
-rw-r--r--include/socket_if.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/socket_if.h b/include/socket_if.h
index 3681d29..82d091e 100644
--- a/include/socket_if.h
+++ b/include/socket_if.h
@@ -28,7 +28,7 @@ extern int socket_bind4(int, const char[4], uint16);
extern int socket_bind4_reuse(int, const char[4], uint16);
extern int socket_connect4(int, const char[4], uint16);
extern int socket_send4(int, const char *, unsigned int, const char[4], uint16);
-extern int socket_broadcast(int, const char *, unsigned int, uint16);
+extern int socket_broadcast4(int, const char *, unsigned int, uint16);
/* Backward compatibility */
#define socket_local4 socket_local