diff options
-rw-r--r-- | FICS/network.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/FICS/network.c b/FICS/network.c index 2fa4cc5..71333be 100644 --- a/FICS/network.c +++ b/FICS/network.c @@ -23,13 +23,14 @@ extern int errno; -PRIVATE int sockfd = 0; /* The socket */ -PRIVATE int numConnections = 0; /* Sparse array */ PUBLIC connection con[512]; -PUBLIC int no_file; -PUBLIC int max_connections; +PUBLIC int no_file; +PUBLIC int max_connections; + +PRIVATE int sockfd = 0; +PRIVATE int numConnections = 0; PUBLIC int findConnection(int fd) |