static ImageRec *ImageOpen(char *fileName)
{
- union {
- int testWord;
- char testByte[4];
- } endianTest;
+ union {
+ int testWord;
+ char testByte[4];
+ } endianTest;
+
ImageRec *image;
int swapFlag;
int x;
exit(1);
}
if ((image->file = fopen(fileName, "rb")) == NULL) {
- return NULL;
+ return NULL;
}
fread(image, 1, 12, image->file);