From 4d2bd7132c41160a64e89e16a38a8e9c90379b31 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Mon, 1 Apr 2024 17:32:32 +0200 Subject: Moved typedef --- FICS/variable.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'FICS') diff --git a/FICS/variable.h b/FICS/variable.h index 72c59f5..6dd4bb0 100644 --- a/FICS/variable.h +++ b/FICS/variable.h @@ -25,11 +25,6 @@ #ifndef _VARIABLE_H #define _VARIABLE_H -typedef struct _var_list { - char *name; - int (*var_func)(); -} var_list; - #define VAR_OK 0 #define VAR_NOSUCH 1 #define VAR_BADVAL 2 @@ -41,6 +36,11 @@ typedef struct _var_list { #define LANG_DANISH 3 #define NUM_LANGS 4 +typedef struct _var_list { + char *name; + int (*var_func)(); +} var_list; + extern var_list variables[]; extern char *Language(); -- cgit v1.2.3