diff --git a/matrix.c b/matrix.c index aeaa8f1..3b915eb 100644 --- a/matrix.c +++ b/matrix.c @@ -1,8 +1,6 @@ -#include -#include -#include #include "matrix.h" + void showMatrix(matrix *m){ for(int i = 0; i < m->rows; ++i){ for(int j = 0; j < m->cols; ++j){ diff --git a/matrix.h b/matrix.h index b01c889..6c4e910 100644 --- a/matrix.h +++ b/matrix.h @@ -2,6 +2,10 @@ #ifndef MATRIX_H #define MATRIX_H +#include +#include +#include + typedef struct matrix{ int rows;