mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-24 00:28:19 +00:00
Make variables static
This commit is contained in:
parent
59b85a87a3
commit
dc5e95ee3d
16
src/dns.c
16
src/dns.c
@ -47,17 +47,17 @@
|
||||
static int dns_write(int, int, char *, int, char);
|
||||
static void dns_query(int, int, char *, int);
|
||||
|
||||
struct sockaddr_in peer;
|
||||
char topdomain[256];
|
||||
static struct sockaddr_in peer;
|
||||
static char topdomain[256];
|
||||
|
||||
// Current IP packet
|
||||
char activepacket[4096];
|
||||
int lastlen;
|
||||
int packetpos;
|
||||
int packetlen;
|
||||
uint16_t chunkid;
|
||||
static char activepacket[4096];
|
||||
static int lastlen;
|
||||
static int packetpos;
|
||||
static int packetlen;
|
||||
static uint16_t chunkid;
|
||||
|
||||
uint16_t pingid;
|
||||
static uint16_t pingid;
|
||||
|
||||
|
||||
int
|
||||
|
Loading…
x
Reference in New Issue
Block a user