aboutsummaryrefslogtreecommitdiff
path: root/src/ir_print.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-06-08 13:08:39 +0100
committerGinger Bill <bill@gingerbill.org>2017-06-08 13:08:39 +0100
commit2b96be0ae8b74e6081a00d740dfcbe205f76fb22 (patch)
tree780289c3b3e5e72b3f96409c290007498bcec84e /src/ir_print.cpp
parent2a89d8021cf95f4a4d7dab269a262a1d2237f71b (diff)
Remove unnecessary `typedef` usage
Diffstat (limited to 'src/ir_print.cpp')
-rw-r--r--src/ir_print.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp
index 81809fa0a..823960352 100644
--- a/src/ir_print.cpp
+++ b/src/ir_print.cpp
@@ -1,8 +1,8 @@
-typedef struct irFileBuffer {
+struct irFileBuffer {
gbVirtualMemory vm;
isize offset;
gbFile * output;
-} irFileBuffer;
+};
void ir_file_buffer_init(irFileBuffer *f, gbFile *output) {
isize size = 8*gb_virtual_memory_page_size(NULL);