1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-22 04:15:54 -04:00

Fix: Make global_client_list extern outside of client.c

This commit is contained in:
Philipp Schafft 2021-07-26 19:47:46 +00:00
parent 5d5a9293ad
commit abc701a301
2 changed files with 3 additions and 1 deletions

View File

@ -65,6 +65,8 @@
#undef CATMODULE
#define CATMODULE "client"
avl_tree *global_client_list;
static inline void client_send_500(client_t *client, const char *message);
/* This returns the protocol ID based on the string.

View File

@ -143,7 +143,7 @@ struct _client_tag {
int (*check_buffer)(source_t *source, client_t *client);
};
avl_tree *global_client_list;
extern avl_tree *global_client_list;
protocol_t client_protocol_from_string(const char *str);
const char * client_protocol_to_string(protocol_t protocol);