This commit is contained in:
jede 2017-01-29 22:59:53 +01:00
parent e21eca942b
commit bd82bf6a7f
4 changed files with 8 additions and 8 deletions

View file

@ -631,7 +631,7 @@ static void OptVersion (const char* Opt attribute((unused)),
const char* Arg attribute((unused)))
/* Print the assembler version */
{
fprintf(stderr, "%s V%s\n", ProgName, GetVersionAsString());
fprintf(stderr, "%s V%s\n", ProgName, GetVersionAsString ());
exit(EXIT_SUCCESS);
}

View file

@ -751,8 +751,8 @@ static void OptVersion (const char* Opt 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);
}

View file

@ -152,6 +152,7 @@ static const TargetEntry TargetMap[] = {
{ "c128", TGT_C128 },
{ "c16", TGT_C16 },
{ "c64", TGT_C64 },
{ "c65", TGT_C65 },
{ "cbm510", TGT_CBM510 },
{ "cbm610", TGT_CBM610 },
{ "gamate", TGT_GAMATE },
@ -200,8 +201,8 @@ static const TargetProperties PropertyTable[TGT_COUNT] = {
{ "geos-apple", CPU_65C02, BINFMT_BINARY, CTNone },
{ "lunix", CPU_6502, BINFMT_O65, CTNone },
{ "atmos", CPU_6502, BINFMT_BINARY, CTNone },
{ "telemon24", CPU_6502, BINFMT_BINARY, CTNone },
{ "telemon30", CPU_6502, BINFMT_BINARY, CTNone },
{ "telemon24", CPU_6502, BINFMT_BINARY, CTNone },
{ "telemon30", CPU_6502, BINFMT_BINARY, CTNone },
{ "nes", CPU_6502, BINFMT_BINARY, CTNone },
{ "supervision", CPU_65SC02, BINFMT_BINARY, CTNone },
{ "lynx", CPU_65SC02, BINFMT_BINARY, CTNone },
@ -209,8 +210,7 @@ static const TargetProperties PropertyTable[TGT_COUNT] = {
{ "sim65c02", CPU_65C02, BINFMT_BINARY, CTNone },
{ "pce", CPU_HUC6280, BINFMT_BINARY, CTNone },
{ "gamate", CPU_6502, BINFMT_BINARY, CTNone },
{ "c65", CPU_4510, BINFMT_BINARY, CTPET },
{ "c65", CPU_4510, BINFMT_BINARY, CTPET },
};
/* Target system */

View file

@ -82,7 +82,7 @@ typedef enum {
TGT_SIM65C02,
TGT_PCENGINE,
TGT_GAMATE,
TGT_C65,
TGT_C65,
TGT_COUNT /* Number of target systems */
} target_t;