aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/makerank.h
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-14 00:00:39 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-14 00:00:39 +0100
commitb9dbce159f462708f5c4baa67bd1331e9afc7b96 (patch)
treec5dc7cba9cd94293b03899f41317cfeb6275bc30 /FICS/makerank.h
parent74a0c7e32287256b48d75b87966b61fd4b6ae0bb (diff)
Moved typedef
Diffstat (limited to 'FICS/makerank.h')
-rw-r--r--FICS/makerank.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/FICS/makerank.h b/FICS/makerank.h
index bf255cc..6d70da2 100644
--- a/FICS/makerank.h
+++ b/FICS/makerank.h
@@ -6,15 +6,15 @@
#define COMPUTER_FILE DEFAULT_LISTS "/computer"
#define MAX_LOGIN_NAME 21
+typedef struct _ratings {
+ int num;
+ int rating;
+} ratings;
+
typedef struct _Entry {
char name[MAX_LOGIN_NAME];
int computer;
ratings r[4];
} ENTRY;
-typedef struct _ratings {
- int num;
- int rating;
-} ratings;
-
#endif