diff options
author | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2010-12-26 17:57:47 +0100 |
---|---|---|
committer | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2010-12-26 17:57:47 +0100 |
commit | 423615514bd1cd5e5a90b68ee25f9fbb030f7af1 (patch) | |
tree | 386564d57331a1b9e7a363b46697bfad0d49dc4c /mactelnetd.c | |
parent | 98b82ee3a77ef4ffd79472e0fd56d6deced1d8e4 (diff) | |
download | MAC-Telnet-423615514bd1cd5e5a90b68ee25f9fbb030f7af1.tar.gz MAC-Telnet-423615514bd1cd5e5a90b68ee25f9fbb030f7af1.zip |
Janitor work
Diffstat (limited to 'mactelnetd.c')
-rw-r--r-- | mactelnetd.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/mactelnetd.c b/mactelnetd.c index 7196a30..2ee1279 100644 --- a/mactelnetd.c +++ b/mactelnetd.c @@ -47,15 +47,14 @@ #include "users.h" #include "config.h" -int sockfd; -int insockfd; -int device_index; +static int sockfd; +static int insockfd; -struct in_addr sourceip; -struct in_addr destip; -int sourceport; +static struct in_addr sourceip; +static struct in_addr destip; +static int sourceport; -unsigned char trypassword[17]; +static unsigned char trypassword[17]; /* Protocol data direction */ unsigned char mt_direction_fromserver = 1; @@ -100,7 +99,7 @@ struct mt_connection { static void uwtmp_login(struct mt_connection *); static void uwtmp_logout(struct mt_connection *); -struct mt_connection *connections_head = NULL; +static struct mt_connection *connections_head = NULL; static void list_add_connection(struct mt_connection *conn) { struct mt_connection *p; |