aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--FICS/makerank.c4
-rw-r--r--FICS/makerank.h5
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;