mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-27 12:05:15 +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 int dns_write(int, int, char *, int, char);
|
||||||
static void dns_query(int, int, char *, int);
|
static void dns_query(int, int, char *, int);
|
||||||
|
|
||||||
struct sockaddr_in peer;
|
static struct sockaddr_in peer;
|
||||||
char topdomain[256];
|
static char topdomain[256];
|
||||||
|
|
||||||
// Current IP packet
|
// Current IP packet
|
||||||
char activepacket[4096];
|
static char activepacket[4096];
|
||||||
int lastlen;
|
static int lastlen;
|
||||||
int packetpos;
|
static int packetpos;
|
||||||
int packetlen;
|
static int packetlen;
|
||||||
uint16_t chunkid;
|
static uint16_t chunkid;
|
||||||
|
|
||||||
uint16_t pingid;
|
static uint16_t pingid;
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Loading…
Reference in New Issue
Block a user