]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - main.cpp
Use C++ naming for structures
[xonotic/gmqcc.git] / main.cpp
index c0868f8f1502ba8a95a34e1d8f2c7f77b6b29c9a..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;