Fixing old pull request

This commit is contained in:
jede
2017-01-29 22:53:50 +01:00
parent 0f8fb4d79d
commit 2697499b3c
2 changed files with 10 additions and 10 deletions

View File

@@ -222,14 +222,14 @@ static void SetSys (const char* Sys)
CBMSystem ("__C16__"); CBMSystem ("__C16__");
break; break;
case TGT_C65:
CBMSystem("__C65__");
break;
case TGT_C64: case TGT_C64:
CBMSystem ("__C64__"); CBMSystem ("__C64__");
break; break;
case TGT_C65:
CBMSystem("__C65__");
break;
case TGT_VIC20: case TGT_VIC20:
CBMSystem ("__VIC20__"); CBMSystem ("__VIC20__");
break; break;
@@ -628,11 +628,11 @@ static void OptVerbose (const char* Opt attribute ((unused)),
static void OptVersion(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 */ /* Print the assembler version */
{ {
fprintf(stderr, "%s V%s\n", ProgName, GetVersionAsString()); fprintf(stderr, "%s V%s\n", ProgName, GetVersionAsString());
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }

View File

@@ -748,11 +748,11 @@ static void OptVerbose (const char* Opt attribute ((unused)),
static void OptVersion(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 */ /* Print the compiler version */
{ {
fprintf(stderr, "%s V%s\n", ProgName, GetVersionAsString()); fprintf(stderr, "%s V%s\n", ProgName, GetVersionAsString());
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }