Normalized code.

This commit is contained in:
Oliver Schmidt
2014-03-04 01:11:19 +01:00
parent 3e156bdd67
commit 4185caf855
502 changed files with 96 additions and 1660 deletions

View File

@@ -238,6 +238,3 @@ void WriteAsmFile (const StrBuf* Data, const Collection* A, const Bitmap* B)
Error ("Error closing output file `%s': %s", Name, strerror (errno));
}
}

View File

@@ -61,6 +61,3 @@ void WriteAsmFile (const StrBuf* Data, const Collection* A, const Bitmap* B);
/* End of asm.h */
#endif

View File

@@ -304,6 +304,3 @@ void FreeAttrList (Collection* C)
/* Free the collection itself */
FreeCollection (C);
}

View File

@@ -126,6 +126,3 @@ void FreeAttrList (Collection* C);
/* End of attr.h */
#endif

View File

@@ -83,6 +83,3 @@ void WriteBinFile (const StrBuf* Data, const Collection* A,
Error ("Error closing output file `%s': %s", Name, strerror (errno));
}
}

View File

@@ -61,6 +61,3 @@ void WriteBinFile (const StrBuf* Data, const Collection* A, const Bitmap* B);
/* End of bin.h */
#endif

View File

@@ -175,6 +175,3 @@ Pixel GetPixel (const Bitmap* B, unsigned X, unsigned Y)
/* Return the pixel */
return B->Data[Y * B->Width + X];
}

View File

@@ -184,6 +184,3 @@ INLINE unsigned GetBitmapColors (const Bitmap* B)
/* End of bitmap.h */
#endif

View File

@@ -223,6 +223,3 @@ void WriteCFile (const StrBuf* Data, const Collection* A, const Bitmap* B)
Error ("Error closing output file `%s': %s", Name, strerror (errno));
}
}

View File

@@ -61,6 +61,3 @@ void WriteCFile (const StrBuf* Data, const Collection* A, const Bitmap* B);
/* End of c.h */
#endif

View File

@@ -64,6 +64,3 @@ Color RGBA (unsigned char R, unsigned char G, unsigned char B, unsigned char A)
}
#endif

View File

@@ -94,6 +94,3 @@ Color RGBA (unsigned char R, unsigned char G, unsigned char B, unsigned char A);
/* End of color.h */
#endif

View File

@@ -123,4 +123,3 @@ void ListConversionTargets (FILE* F)
fprintf (F, " %s\n", ConverterMap[I].Format);
}
}

View File

@@ -70,6 +70,3 @@ void ListConversionTargets (FILE* F);
/* End of convert.h */
#endif

View File

@@ -85,6 +85,3 @@ void Internal (const char* Format, ...)
va_end (ap);
exit (EXIT_FAILURE);
}

View File

@@ -63,6 +63,3 @@ void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2))
/* End of error.h */
#endif

View File

@@ -123,6 +123,3 @@ void* ReadData (FILE* F, void* Data, unsigned Size)
}
return Data;
}

View File

@@ -72,6 +72,3 @@ void* ReadData (FILE* F, void* Data, unsigned Size);
/* End of fileio.h */
#endif

View File

@@ -229,6 +229,3 @@ StrBuf* GenGeosBitmap (const Bitmap* B, const Collection* A attribute ((unused))
/* Return the converted bitmap */
return D;
}

View File

@@ -108,6 +108,3 @@ StrBuf* GenGeosIcon (const Bitmap* B, const Collection* A attribute ((unused)))
/* Return the converted bitmap */
return D;
}

View File

@@ -64,6 +64,3 @@ StrBuf* GenGeosIcon (const Bitmap* B, const Collection* A);
/* End of geosicon.h */
#endif

View File

@@ -119,6 +119,3 @@ Bitmap* ReadInputFile (const Collection* A)
/* Call the format specific read */
return InputFormatTable[F->Id].Read (A);
}

View File

@@ -63,6 +63,3 @@ Bitmap* ReadInputFile (const Collection* A);
/* End of input.h */
#endif

View File

@@ -101,6 +101,3 @@ StrBuf* GenKoala (const Bitmap* B, const Collection* A attribute ((unused)))
/* Return the converted bitmap */
return D;
}

View File

@@ -64,6 +64,3 @@ StrBuf* GenKoala (const Bitmap* B, const Collection* A);
/* End of koala.h */
#endif

View File

@@ -552,6 +552,3 @@ StrBuf* GenLynxSprite (const Bitmap* B, const Collection* A)
/* Return the converted bitmap */
return D;
}

View File

@@ -64,6 +64,3 @@ StrBuf* GenLynxSprite (const Bitmap* B, const Collection* A);
/* End of lynxsprite.h */
#endif

View File

@@ -405,6 +405,3 @@ int main (int argc, char* argv [])
/* Success */
return EXIT_SUCCESS;
}

View File

@@ -140,6 +140,3 @@ void WriteOutputFile (const StrBuf* Data, const Collection* A, const Bitmap* B)
/* Call the format specific write */
OutputFormatTable[F->Id].Write (Data, A, B);
}

View File

@@ -65,6 +65,3 @@ void WriteOutputFile (const StrBuf* Data, const Collection* A, const Bitmap* B);
/* End of output.h */
#endif

View File

@@ -138,6 +138,3 @@ void DumpPalette (FILE* F, const Palette* P)
(((unsigned long) C->R) << 0));
}
}

View File

@@ -85,6 +85,3 @@ void DumpPalette (FILE* F, const Palette* P);
/* End of palette.h */
#endif

View File

@@ -440,6 +440,3 @@ Bitmap* ReadPCXFile (const Collection* A)
/* Return the bitmap */
return B;
}

View File

@@ -60,6 +60,3 @@ Bitmap* ReadPCXFile (const Collection* A);
/* End of pcx.h */
#endif

View File

@@ -67,6 +67,3 @@ union Pixel {
/* End of pixel.h */
#endif

View File

@@ -84,6 +84,3 @@ StrBuf* GenRaw (const Bitmap* B, const Collection* A attribute ((unused)))
/* Return the converted bitmap */
return D;
}

View File

@@ -61,7 +61,5 @@ StrBuf* GenRaw (const Bitmap* B, const Collection* A);
/* End of raw.h */
#endif

View File

@@ -177,6 +177,3 @@ StrBuf* GenVic2Sprite (const Bitmap* B, const Collection* A)
/* Return the converted bitmap */
return D;
}

View File

@@ -64,6 +64,3 @@ StrBuf* GenVic2Sprite (const Bitmap* B, const Collection* A);
/* End of vic2sprite.h */
#endif