From fc319930ac4858de66510e50930429f82e6a9047 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Wed, 13 Dec 2023 20:15:57 +0100 Subject: First public then private --- FICS/network.c | 9 +++++---- 1 file 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) -- cgit v1.2.3