Skip to content

Commit 9873f81

Browse files
committed
cleanup 3
1 parent b4eb1a2 commit 9873f81

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/gamepad/gamepad.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ static inline int skterr()
5252
#endif
5353
}
5454

55-
static pthread_mutex_t record_mutex = PTHREAD_MUTEX_INITIALIZER;
56-
static struct timeval record_start_time;
57-
static int record_active = 0;
58-
5955
in_addr_t get_real_server_address()
6056
{
6157
if (SERVER_ADDRESS == VANILLA_ADDRESS_DIRECT) {
@@ -125,7 +121,7 @@ void set_socket_rcvtimeo(int skt, uint64_t microseconds)
125121
#endif // _WIN32
126122
}
127123

128-
static int create_socket(int *socket_out, in_port_t port)
124+
int create_socket(int *socket_out, in_port_t port)
129125
{
130126
sockaddr_u addr;
131127
size_t addr_size;

0 commit comments

Comments
 (0)