1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-03 21:36:44 +02:00

cleanup: Reduce the amount of "extern" in .c files.

There is no check at all that the types of externs actually match the
type of the definition. This just accidentally was not a problem, but now
the compiler helps a bit in keeping it that way.
This commit is contained in:
iphydf
2021-12-11 22:35:51 +00:00
parent 71f6a8d4d6
commit 701c0e1e94
16 changed files with 27 additions and 52 deletions

View File

@ -33,9 +33,6 @@
#include "toxic.h"
#include "windows.h"
extern struct arg_opts arg_opts;
extern struct Winthread Winthread;
#define NAMESERVER_API_PATH "api"
#define SERVER_KEY_SIZE 32
#define MAX_SERVERS 50