mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-23 05:43:32 +02:00
Make variables static
This commit is contained in:
parent
59b85a87a3
commit
dc5e95ee3d
1 changed files with 8 additions and 8 deletions
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…
Reference in a new issue