diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-04-01 17:32:32 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-04-01 17:32:32 +0200 |
commit | 4d2bd7132c41160a64e89e16a38a8e9c90379b31 (patch) | |
tree | 2d87f1ca44814692107dc62d3e749d20ea4edca0 | |
parent | b27d6a1570054d185df6e1bc205768c19165f1d4 (diff) |
Moved typedef
-rw-r--r-- | FICS/variable.h | 10 |
1 files changed, 5 insertions, 5 deletions
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(); |