diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-13 23:57:44 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-13 23:57:44 +0100 |
commit | 74a0c7e32287256b48d75b87966b61fd4b6ae0bb (patch) | |
tree | 394968042e68f9c3060b0593d70dd421173f6884 /FICS | |
parent | 749bb281d23b374a4d69f5d448ea57dda978e55e (diff) |
Moved preprocessor directives to the header
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/makerank.c | 4 | ||||
-rw-r--r-- | FICS/makerank.h | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/FICS/makerank.c b/FICS/makerank.c index c132e1c..72ee966 100644 --- a/FICS/makerank.c +++ b/FICS/makerank.c @@ -4,12 +4,8 @@ #include <stdlib.h> #include <string.h> -#include "config.h" #include "makerank.h" -#define COMPUTER_FILE DEFAULT_LISTS "/computer" -#define MAX_LOGIN_NAME 21 - static ENTRY **list; static ENTRY **sortme; diff --git a/FICS/makerank.h b/FICS/makerank.h index 49fe563..bf255cc 100644 --- a/FICS/makerank.h +++ b/FICS/makerank.h @@ -1,6 +1,11 @@ #ifndef MAKERANK_H #define MAKERANK_H +#include "config.h" + +#define COMPUTER_FILE DEFAULT_LISTS "/computer" +#define MAX_LOGIN_NAME 21 + typedef struct _Entry { char name[MAX_LOGIN_NAME]; int computer; |