]> git.xolatile.top Git - soikk-matrix.git/commitdiff
Moved includes
authorSoikk <76824648+Soikk@users.noreply.github.com>
Wed, 24 Aug 2022 15:55:01 +0000 (17:55 +0200)
committerSoikk <76824648+Soikk@users.noreply.github.com>
Wed, 24 Aug 2022 15:55:01 +0000 (17:55 +0200)
matrix.c
matrix.h

index aeaa8f1db329278b606aaab178a3fcd0a467849a..3b915ebec5163b1734743066f963d83b7b3de34f 100644 (file)
--- a/matrix.c
+++ b/matrix.c
@@ -1,8 +1,6 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdbool.h>
 #include "matrix.h"
 
+
 void showMatrix(matrix *m){
        for(int i = 0; i < m->rows; ++i){
                for(int j = 0; j < m->cols; ++j){
index b01c889e46f11d79fc3ef85a38585533a82b64b4..6c4e9101cc2a4dd428d4c608bce1036b40d6c45f 100644 (file)
--- a/matrix.h
+++ b/matrix.h
@@ -2,6 +2,10 @@
 #ifndef MATRIX_H
 #define MATRIX_H
 
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdbool.h>
+
 
 typedef struct matrix{
        int rows;