mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-18 21:51:22 +00:00
make fluid_socket_*() helper functions static
This commit is contained in:
parent
44985b1212
commit
e7ff72df46
2 changed files with 3 additions and 8 deletions
|
@ -945,7 +945,7 @@ int fluid_server_socket_join(fluid_server_socket_t *server_socket)
|
|||
return fluid_thread_join (server_socket->thread);
|
||||
}
|
||||
|
||||
int fluid_socket_init(void)
|
||||
static int fluid_socket_init(void)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
WSADATA wsaData;
|
||||
|
@ -960,14 +960,14 @@ int fluid_socket_init(void)
|
|||
return FLUID_OK;
|
||||
}
|
||||
|
||||
void fluid_socket_cleanup(void)
|
||||
static void fluid_socket_cleanup(void)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
WSACleanup();
|
||||
#endif
|
||||
}
|
||||
|
||||
int fluid_socket_get_error(void)
|
||||
static int fluid_socket_get_error(void)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
return (int)WSAGetLastError();
|
||||
|
|
|
@ -354,11 +354,6 @@ void fluid_socket_close(fluid_socket_t sock);
|
|||
fluid_istream_t fluid_socket_get_istream(fluid_socket_t sock);
|
||||
fluid_ostream_t fluid_socket_get_ostream(fluid_socket_t sock);
|
||||
|
||||
int fluid_socket_init(void);
|
||||
void fluid_socket_cleanup(void);
|
||||
int fluid_socket_get_error(void);
|
||||
|
||||
|
||||
|
||||
/* Profiling */
|
||||
|
||||
|
|
Loading…
Reference in a new issue