From b9dbce159f462708f5c4baa67bd1331e9afc7b96 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Thu, 14 Dec 2023 00:00:39 +0100 Subject: Moved typedef --- FICS/makerank.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'FICS/makerank.h') 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 -- cgit v1.2.3