aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/network.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-13 20:15:57 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-13 20:15:57 +0100
commitfc319930ac4858de66510e50930429f82e6a9047 (patch)
tree5f851cd9e2cd8d43c373ec13adbd154f5d35bb18 /FICS/network.c
parent196cb1417178228e2a5f5cdfbe287faf32560b94 (diff)
First public then private
Diffstat (limited to 'FICS/network.c')
-rw-r--r--FICS/network.c9
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)