]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ir.cpp
Use C++ naming for structures
[xonotic/gmqcc.git] / ir.cpp
diff --git a/ir.cpp b/ir.cpp
index 5920361c7314bb36394bb16a09058adcb665754e..01aa8f2094c59a8a075df11add7f2b426d76cd75 100644 (file)
--- a/ir.cpp
+++ b/ir.cpp
@@ -2118,12 +2118,12 @@ void ir_function_enumerate(ir_function *self)
  * we can allocate their global-positions.
  * This is the counterpart to register-allocation in register machines.
  */
-typedef struct {
+struct function_allocator {
     ir_value **locals;
-    size_t    *sizes;
-    size_t    *positions;
-    bool      *unique;
-} function_allocator;
+    size_t *sizes;
+    size_t *positions;
+    bool *unique;
+};
 
 static bool function_allocator_alloc(function_allocator *alloc, ir_value *var)
 {