aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-09 20:01:48 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-09 20:01:48 +0100
commit1d9c22d8f79c420ebf9a3cb51e5a4f74d564b32b (patch)
treef9d756f182b0e500a6f55ce52ba5585f593ced7b /FICS
parentea2b9188766d4fcf8eee1f8ed547c475348934e3 (diff)
Moved vars and made them private
Diffstat (limited to 'FICS')
-rw-r--r--FICS/fics_addplayer.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/FICS/fics_addplayer.c b/FICS/fics_addplayer.c
index 9a92bf9..4ab5176 100644
--- a/FICS/fics_addplayer.c
+++ b/FICS/fics_addplayer.c
@@ -31,6 +31,12 @@
#define PASSLEN 4
+PRIVATE char *funame = NULL;
+PRIVATE char *fname = NULL;
+PRIVATE char *email = NULL;
+
+PRIVATE int local = 1;
+
PRIVATE void
usage(char *progname)
{
@@ -39,10 +45,6 @@ usage(char *progname)
exit(1);
}
-/* Parameters */
-int local = 1;
-char *funame = NULL, *fname = NULL, *email = NULL;
-
PUBLIC int
main(int argc, char *argv[])
{