From d1d9e396cd9fed34a06a04f9e611abcac20b6051 Mon Sep 17 00:00:00 2001 From: Jacob Hageman Date: Thu, 11 Mar 2021 13:38:33 -0500 Subject: [PATCH] Fix #851, Remove duplicate network prototypes --- src/os/inc/osapi-sockets.h | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/src/os/inc/osapi-sockets.h b/src/os/inc/osapi-sockets.h index 743c6d810..92c5f567c 100644 --- a/src/os/inc/osapi-sockets.h +++ b/src/os/inc/osapi-sockets.h @@ -368,35 +368,6 @@ int32 OS_SocketGetIdByName(osal_id_t *sock_id, const char *sock_name); */ int32 OS_SocketGetInfo(osal_id_t sock_id, OS_socket_prop_t *sock_prop); -/*-------------------------------------------------------------------------------------*/ -/** - * @brief Gets the network ID of the local machine - * - * The ID is an implementation-defined value and may not be consistent - * in meaning across different platform types. - * - * @note This API may be removed in a future version of OSAL due to - * inconsistencies between platforms. - * - * @return The ID or fixed value of -1 if the host id could not be found. - * Note it is not possible to differentiate between error codes and valid - * network IDs here. It is assumed, however, that -1 is never a valid ID. - */ -int32 OS_NetworkGetID(void); - -/*-------------------------------------------------------------------------------------*/ -/** - * @brief Gets the local machine network host name - * - * If configured in the underlying network stack, - * this function retrieves the local hostname of the system. - * - * @param[out] host_name Buffer to hold name information - * @param[in] name_len Maximum length of host name buffer - * - * @return Execution status, see @ref OSReturnCodes - */ -int32 OS_NetworkGetHostName(char *host_name, size_t name_len); /**@}*/ #endif