diff --git a/imageInput.c b/imageInput.c index 6dfb1e6..ccebe1e 100644 --- a/imageInput.c +++ b/imageInput.c @@ -1,4 +1,5 @@ #include +#include #include #include #include "imageInput.h" @@ -19,10 +20,10 @@ static int getCharValueFromFile(FILE* openedFile) { return addToFile; } -GrayScaleImageSeries *readImages(const char *path) +GrayScaleImageSeries* readImages(const char *path) { GrayScaleImageSeries *series = NULL; - + // uint16_t FILE* openFile; openFile = fopen(path, "rb"); @@ -95,7 +96,7 @@ GrayScaleImageSeries *readImages(const char *path) } } - // the fclose happens here, since every other path closes the file. beforehand + // the fclose happens here, since every other path closes the file beforehand fclose (openFile); } diff --git a/matrix.c b/matrix.c index 1babd3e..3f6b423 100644 --- a/matrix.c +++ b/matrix.c @@ -31,7 +31,7 @@ Matrix createMatrix(size_t rows, size_t cols) } -void clearMatrix(Matrix *matrix) +void clearMatrix(Matrix* matrix) { for (int i = 0; i < matrix->rows; i++) { for (int j = 0; j < matrix->cols;j++) {