diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-19 23:42:30 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-19 23:42:30 +0100 |
commit | 0b8cc8e90ebe6a69da7a02dd437e08ffd4884443 (patch) | |
tree | d35fedac5c5d2d8482b0e8fe15fcf884a549f36f /FICS | |
parent | b56329dbed8b9cedcae586e79dbfcc8314e4864b (diff) |
Reformatted structs
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/command.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/FICS/command.h b/FICS/command.h index b2148aa..6373f42 100644 --- a/FICS/command.h +++ b/FICS/command.h @@ -58,31 +58,31 @@ #define ADMIN_GOD 100 #define TYPE_NULL 0 -/*#define TYPE_NULL NULL <-- this is WRONG WRONG WRONG! --mann 5/10/95 */ #define TYPE_WORD 1 #define TYPE_STRING 2 #define TYPE_INT 3 typedef struct u_parameter { - int type; - union { - char *word; - char *string; - int integer; - } val; + int type; + + union { + char *word; + char *string; + int integer; + } val; } parameter; typedef parameter param_list[MAXNUMPARAMS]; typedef struct s_command_type { - char *comm_name; - char *param_string; - int (*comm_func)(); - int adminLevel; + char *comm_name; + char *param_string; + int (*comm_func)(); + int adminLevel; } command_type; typedef struct s_alias_type { - char *comm_name; - char *alias; + char *comm_name; + char *alias; } alias_type; extern char *adhelp_dir; |