1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-09-15 20:26:53 +02:00

Use (void) in prototypes instead of ().

Also, removed `__inline` from an extern function (why was it there?).
Also, moved one extern declaration to a header file. There are lots of
these that need to be moved, but one thing at a time.
This commit is contained in:
iphydf
2018-09-13 23:47:47 +00:00
parent bebff3be0e
commit d62902ffb3
19 changed files with 32 additions and 31 deletions

View File

@@ -42,7 +42,7 @@ extern struct Winthread Winthread;
#define MAX_DOMAIN_SIZE 32
#define MAX_SERVER_LINE MAX_DOMAIN_SIZE + (SERVER_KEY_SIZE * 2) + 3
struct Nameservers {
static struct Nameservers {
int lines;
char names[MAX_SERVERS][MAX_DOMAIN_SIZE];
char keys[MAX_SERVERS][SERVER_KEY_SIZE];