X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=main.cpp;h=d44d4d4084b21495789639df98ec8910a8f3d152;hp=c0868f8f1502ba8a95a34e1d8f2c7f77b6b29c9a;hb=878195bdec6877c9376f6da55ebf5a3a23a3cc69;hpb=aabefd1bfe0c5b08bea9341c1394cfa8b96d754d diff --git a/main.cpp b/main.cpp index c0868f8..d44d4d4 100644 --- a/main.cpp +++ b/main.cpp @@ -7,12 +7,11 @@ /* TODO: cleanup this whole file .. it's a fuckign mess */ /* set by the standard */ -const oper_info *operators = NULL; -size_t operator_count = 0; -static bool opts_output_wasset = false; - -typedef struct { char *filename; int type; } argitem; -typedef struct { char *name; char *value; } ppitem; +const oper_info *operators = NULL; +size_t operator_count = 0; +static bool opts_output_wasset = false; +struct argitem { char *filename; int type; }; +struct ppitem { char *name; char *value; }; static argitem *items = NULL; static ppitem *ppems = NULL;