]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - main.cpp
Use C++ naming for structures
[xonotic/gmqcc.git] / main.cpp
index ac715d5b4186bc1d18cff1e6a2b16a154dff1dc3..d44d4d4084b21495789639df98ec8910a8f3d152 100644 (file)
--- 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;
 
@@ -520,8 +519,8 @@ int main(int argc, char **argv) {
     bool            operators_free   = false;
     bool            progs_src        = false;
     FILE       *outfile         = NULL;
-    struct parser_s *parser          = NULL;
-    struct ftepp_s  *ftepp           = NULL;
+    parser_t *parser          = NULL;
+    ftepp_t  *ftepp           = NULL;
 
     app_name = argv[0];
     con_init ();