changeset 2573:21d296803fac

Use { 0 } initializer instead of {}.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 10 Mar 2022 22:37:05 +0200
parents 92b93a12c014
children 3feca4682680
files tools/lib64fmts.c
diffstat 1 files changed, 33 insertions(+), 33 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64fmts.c	Thu Mar 10 22:36:48 2022 +0200
+++ b/tools/lib64fmts.c	Thu Mar 10 22:37:05 2022 +0200
@@ -2392,35 +2392,35 @@
         "d2p", "DrazPaint 1.4/2.0 (packed)", 0x5800, 0, 0, DM_FMT_RDWR,
         fmtProbeDrazPaint20Packed,
         fmtDecodeDrazPaintPacked, fmtEncodeDrazPaintPacked,
-        { }, &dmC64CommonFormats[4]
+        { 0 }, &dmC64CommonFormats[4]
     },
 
     {
         "drp", "DrazPaint (unpacked)", 0x5800, 10051, 0, DM_FMT_RDWR,
         NULL,
         NULL, NULL,
-        { }, &dmC64CommonFormats[4]
+        { 0 }, &dmC64CommonFormats[4]
     },
 
     {
         "dlp", "DrazLace 1.0 (packed)", 0x5800, 0, 0, DM_FMT_RDWR,
         fmtProbeDrazLace10Packed,
         fmtDecodeDrazPaintPacked, fmtEncodeDrazPaintPacked,
-        { }, &dmC64CommonFormats[5]
+        { 0 }, &dmC64CommonFormats[5]
     },
 
     {
         "drl", "DrazLace 1.0 (unpacked)", 0x5800, 18242, 0, DM_FMT_RDWR,
         NULL,
         NULL, NULL,
-        { }, &dmC64CommonFormats[5]
+        { 0 }, &dmC64CommonFormats[5]
     },
 
     {
         "bdp5", "Boogie Down Paint 5 (packed)", 0x5000, 0, 0, DM_FMT_RDWR,
         fmtProbeBDP5Packed,
         fmtDecodeBDP5Packed, fmtEncodeBDP5Packed,
-        { }, &dmC64CommonFormats[0] // Memory format is same as Koala
+        { 0 }, &dmC64CommonFormats[0] // Memory format is same as Koala
     },
 
     {
@@ -2471,28 +2471,28 @@
         "mci", "Truepaint (unpacked)", 0x9c00, 19434, 0, DM_FMT_RDWR,
         NULL,
         NULL, NULL,
-        { }, &dmC64CommonFormats[6]
+        { 0 }, &dmC64CommonFormats[6]
     },
 
     {
         "mcip", "Truepaint (packed)", 0x0801, 0, 0, DM_FMT_RD,
         fmtProbeTruePaintPacked,
         fmtDecodeTruePaintPacked, NULL,
-        { }, &dmC64CommonFormats[6]
+        { 0 }, &dmC64CommonFormats[6]
     },
 
     {
         "kla", "Koala Painter (unpacked)", 0x6000, 10003, 0, DM_FMT_RDWR,
         fmtProbeKoalaPainter,
         NULL, NULL,
-        { }, &dmC64CommonFormats[0]
+        { 0 }, &dmC64CommonFormats[0]
     },
 
     {
         "klp", "Koala Painter (packed)", 0x6000, 0, 0xfe, DM_FMT_RDWR,
         fmtProbeKoalaPainterPacked,
         fmtDecodeStaticRLEMarkerMode2, fmtEncodeStaticRLEMarkerMode2,
-        { }, &dmC64CommonFormats[0]
+        { 0 }, &dmC64CommonFormats[0]
     },
 
     {
@@ -2709,49 +2709,49 @@
         "ami", "Amica Paint (packed)", 0x4000, 0, 0, DM_FMT_RDWR,
         fmtProbeAmicaPaintPacked,
         fmtDecodeAmicaPaintPacked, fmtEncodeAmicaPaintPacked,
-        { }, &dmC64CommonFormats[0]
+        { 0 }, &dmC64CommonFormats[0]
     },
 
     {
         "rpm", "Run Paint (unpacked)", 0x6000, 10006, 0, DM_FMT_RDWR,
         NULL,
         NULL, NULL,
-        { }, &dmC64CommonFormats[0]
+        { 0 }, &dmC64CommonFormats[0]
     },
 
     {
         "ipc", "Interpaint MC (unpacked)", 0x4000, 10003, 0, DM_FMT_RDWR,
         NULL,
         NULL, NULL,
-        { }, &dmC64CommonFormats[0]
+        { 0 }, &dmC64CommonFormats[0]
     },
 
     {
         "art", "Art Studio (unpacked)", 0x2000, 9009, 0, DM_FMT_RDWR,
         fmtProbeArtStudio,
         NULL, NULL,
-        { }, &dmC64CommonFormats[2]
+        { 0 }, &dmC64CommonFormats[2]
     },
 
     {
         "iph", "Interpaint (unpacked)", 0x4000, 9002, 0, DM_FMT_RDWR,
         NULL,
         NULL, NULL,
-        { }, &dmC64CommonFormats[2]
+        { 0 }, &dmC64CommonFormats[2]
     },
 
     {
         "dd", "Doodle (unpacked)", 0x1c00, 9218, 0, DM_FMT_RDWR,
         fmtProbeDoodle,
         NULL, NULL,
-        { }, &dmC64CommonFormats[10]
+        { 0 }, &dmC64CommonFormats[10]
     },
 
     {
         "jj", "Doodle (packed)", 0x5c00, 0, 0xfe, DM_FMT_RDWR,
         fmtProbeDoodle,
         fmtDecodeStaticRLEMarkerMode2, fmtEncodeStaticRLEMarkerMode2,
-        { }, &dmC64CommonFormats[10]
+        { 0 }, &dmC64CommonFormats[10]
     },
 
     {
@@ -2863,35 +2863,35 @@
         "bml", "Black Mail FLI (unpacked)", 0x3b00, 17474, 0, DM_FMT_RDWR,
         NULL,
         NULL, NULL,
-        { }, &dmC64CommonFormats[1]
+        { 0 }, &dmC64CommonFormats[1]
     },
 
     {
         "bmlp", "Black Mail FLI (packed)", 0x38f0, 0, 0, DM_FMT_RDWR,
         fmtProbeBlackMailFLIPacked,
         fmtDecodeBlackMailFLIPacked, fmtEncodeBlackMailFLIPacked,
-        { }, &dmC64CommonFormats[1]
+        { 0 }, &dmC64CommonFormats[1]
     },
 
     {
         "dfed", "Dolphins FLI Editor v3.2 (unpacked)", 0x3b00, 17665, 0, DM_FMT_RDWR,
         NULL,
         NULL, NULL,
-        { }, &dmC64CommonFormats[1]
+        { 0 }, &dmC64CommonFormats[1]
     },
 
     {
         "fd1", "FBI Crew FLI Designer 1.1 (unpacked)", 0x3c00, 17409, 0, DM_FMT_RDWR,
         NULL,
         NULL, NULL,
-        { }, &dmC64CommonFormats[9]
+        { 0 }, &dmC64CommonFormats[9]
     },
 
     {
         "fd2", "FLI Designer 2 (unpacked)", 0x3ff0, 17409, 0, DM_FMT_RDWR,
         NULL,
         NULL, NULL,
-        { }, &dmC64CommonFormats[9]
+        { 0 }, &dmC64CommonFormats[9]
     },
 
     {
@@ -2928,14 +2928,14 @@
         "eci", "ECI Graphic Editor 1.0 (unpacked)", 0x4000, 32770, 0, DM_FMT_RDWR,
         NULL,
         NULL, NULL,
-        { }, &dmC64CommonFormats[7]
+        { 0 }, &dmC64CommonFormats[7]
     },
 
     {
         "ecip", "ECI Graphic Editor 1.0 (packed)", 0x4000, 0, 0, DM_FMT_RDWR,
         fmtProbeECIPacked,
         fmtDecodeECIPacked, fmtEncodeECIPacked,
-        { }, &dmC64CommonFormats[7]
+        { 0 }, &dmC64CommonFormats[7]
     },
 
     {
@@ -3055,14 +3055,14 @@
         "fp2", "FunPaint II (unpacked)", 0x3ff0, 33694, 0, DM_FMT_RDWR,
         fmtProbeFunPaint2,
         fmtDecodeFunPaint2, fmtEncodeFunPaint2Unpacked,
-        { }, &dmC64CommonFormats[3]
+        { 0 }, &dmC64CommonFormats[3]
     },
 
     {
         "fp2p", "FunPaint II (packed)", 0x3ff0, 0, 0, DM_FMT_RDWR,
         fmtProbeFunPaint2,
         fmtDecodeFunPaint2, fmtEncodeFunPaint2Packed,
-        { }, &dmC64CommonFormats[3]
+        { 0 }, &dmC64CommonFormats[3]
     },
 
     {
@@ -3170,28 +3170,28 @@
         "cshf", "Crest Super Hires FLI Editor v1.0 (unpacked)", 0x4000, 15874, 0, DM_FMT_RDWR,
         fmtProbeCrestSHFLI,
         NULL, NULL,
-        { }, &dmC64CommonFormats[11]
+        { 0 }, &dmC64CommonFormats[11]
     },
 
     {
         "cshfp", "Crest Super Hires FLI Editor v1.0 (packed)", 0xa000, 0, 0, DM_FMT_RD,
         fmtProbeCrestSHFLI,
         fmtDecodeCrestSHFLIPacked, NULL,
-        { }, &dmC64CommonFormats[11]
+        { 0 }, &dmC64CommonFormats[11]
     },
 
     {
         "cdhm", "Cosmos Designs Hires Manager (unpacked)", 0x4000, 16385, 0, DM_FMT_RDWR,
         fmtProbeCosmosDesignsHiresManager,
         NULL, NULL,
-        { }, &dmC64CommonFormats[8]
+        { 0 }, &dmC64CommonFormats[8]
     },
 
     {
         "cdhp", "Cosmos Designs Hires Manager (packed)", 0x4000, 0, 0, DM_FMT_RD,
         fmtProbeCosmosDesignsHiresManager,
         fmtDecodeCosmosDesignsHiresManagerPacked, NULL,
-        { }, &dmC64CommonFormats[8]
+        { 0 }, &dmC64CommonFormats[8]
     },
 
     {
@@ -3326,28 +3326,28 @@
         "suphi1", "SupeRes hires [clear] (packed)", -1, 0, 0x23, DM_FMT_RDWR,
         fmtProbeSupeRes,
         fmtDecodeSupeRes, fmtEncodeSupeRes,
-        { }, &dmC64CommonFormats[10]
+        { 0 }, &dmC64CommonFormats[10]
     },
 
     {
         "suphi2", "SupeRes hires [no-clear] (packed)", -1, 0, 0x25, DM_FMT_RDWR,
         fmtProbeSupeRes,
         fmtDecodeSupeRes, fmtEncodeSupeRes,
-        { }, &dmC64CommonFormats[10]
+        { 0 }, &dmC64CommonFormats[10]
     },
 
     {
         "supmc1", "SupeRes multicolor [clear] (packed)", -1, 0, 0x24, DM_FMT_RDWR,
         fmtProbeSupeRes,
         fmtDecodeSupeRes, fmtEncodeSupeRes,
-        { }, &dmC64CommonFormats[0]
+        { 0 }, &dmC64CommonFormats[0]
     },
 
     {
         "supmc2", "SupeRes multicolor [no-clear] (packed)", -1, 0, 0x26, DM_FMT_RDWR,
         fmtProbeSupeRes,
         fmtDecodeSupeRes, fmtEncodeSupeRes,
-        { }, &dmC64CommonFormats[0]
+        { 0 }, &dmC64CommonFormats[0]
     },
 
     {