]> git.sur5r.net Git - cc65/commitdiff
Fix
authorjede <jede@oric.org>
Sun, 29 Jan 2017 21:59:53 +0000 (22:59 +0100)
committerjede <jede@oric.org>
Sun, 29 Jan 2017 21:59:53 +0000 (22:59 +0100)
src/ca65/main.c
src/cc65/main.c
src/common/target.c
src/common/target.h

index cbd514bc393df418aeae58111e79b2584a822b9e..ff321d87dbb2b7bdcf1e91154d6377b40d9cda95 100644 (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);
 }
 
index 8fc774f87d1c729948fc348a766a77e5de42b3e7..e4e5ce81f9bb7131078358f4302c325d9f119b5a 100644 (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);
 }
 
 
index 31274d48a505139c55b7f1736240dc246934ef91..dfbe4d354320f1f8843e7adf822d97812ab58f74 100644 (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 */
index 93bcfe20dd2331d43412a2d297e0c9469ffa6f6a..2b0a4e1965ef06e54417a7cd003e46ddda3b425b 100644 (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;