From 2697499b3c245a98871bb43380bdd068facd06c8 Mon Sep 17 00:00:00 2001 From: jede Date: Sun, 29 Jan 2017 22:53:50 +0100 Subject: [PATCH] Fixing old pull request --- src/ca65/main.c | 14 +++++++------- src/cc65/main.c | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/ca65/main.c b/src/ca65/main.c index 91f652811..fd06f685d 100644 --- a/src/ca65/main.c +++ b/src/ca65/main.c @@ -222,14 +222,14 @@ static void SetSys (const char* Sys) CBMSystem ("__C16__"); break; - case TGT_C65: - CBMSystem("__C65__"); - break; - case TGT_C64: CBMSystem ("__C64__"); break; + case TGT_C65: + CBMSystem("__C65__"); + break; + case TGT_VIC20: CBMSystem ("__VIC20__"); break; @@ -628,11 +628,11 @@ static void OptVerbose (const char* Opt attribute ((unused)), static void OptVersion(const char* Opt attribute((unused)), - const char* Arg attribute((unused))) + const char* Arg attribute((unused))) /* Print the assembler version */ { - fprintf(stderr, "%s V%s\n", ProgName, GetVersionAsString()); - exit(EXIT_SUCCESS); + fprintf(stderr, "%s V%s\n", ProgName, GetVersionAsString()); + exit(EXIT_SUCCESS); } diff --git a/src/cc65/main.c b/src/cc65/main.c index b7abf959c..1fd670340 100644 --- a/src/cc65/main.c +++ b/src/cc65/main.c @@ -748,11 +748,11 @@ static void OptVerbose (const char* Opt attribute ((unused)), static void OptVersion(const char* Opt attribute((unused)), - const char* Arg attribute((unused))) + const char* Arg attribute((unused))) /* Print the compiler version */ { - fprintf(stderr, "%s V%s\n", ProgName, GetVersionAsString()); - exit(EXIT_SUCCESS); + fprintf(stderr, "%s V%s\n", ProgName, GetVersionAsString()); + exit(EXIT_SUCCESS); } -- 2.39.5