From: jede Date: Sun, 29 Jan 2017 21:53:50 +0000 (+0100) Subject: Fixing old pull request X-Git-Tag: V2.16~47^2~17 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2697499b3c245a98871bb43380bdd068facd06c8;p=cc65 Fixing old pull request --- 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); }