aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--obc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/obc.c b/obc.c
index 227f980..3d9cd0d 100644
--- a/obc.c
+++ b/obc.c
@@ -70,6 +70,10 @@ int main(int argc, char *argv[])
return 1;
}
+ char *file_data = NULL;
+ buffer_t *buffer = NULL, *asm_buffer = NULL;
+ struct PResult res = {0};
+
struct Config config = {0};
int ret = parse_config(&config, argc, argv);
if (!ret)
@@ -79,10 +83,6 @@ int main(int argc, char *argv[])
}
ret = 0;
- char *file_data = NULL;
- buffer_t *buffer = NULL, *asm_buffer = NULL;
- struct PResult res = {0};
-
FILE *handle = fopen(config.prog_name, "r");
if (!handle)
{