From 033a52797fad906fcdf2583041077299500dc626 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Wed, 13 Dec 2023 23:54:12 +0100 Subject: Made vars static --- FICS/makerank.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'FICS/makerank.c') diff --git a/FICS/makerank.c b/FICS/makerank.c index 3e237d0..99a4029 100644 --- a/FICS/makerank.c +++ b/FICS/makerank.c @@ -10,11 +10,11 @@ #define COMPUTER_FILE DEFAULT_LISTS "/computer" #define MAX_LOGIN_NAME 21 -ENTRY **list; -ENTRY **sortme; +static ENTRY **list; +static ENTRY **sortme; -char *rnames[] = {"std", "blitz", "wild", "lightning"}; -int rtype; +static char *rnames[] = {"std", "blitz", "wild", "lightning"}; +static int rtype; static int GetPlayerInfo(char *fileName, ENTRY *e) -- cgit v1.2.3