aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorMikkel Thestrup <mithe24@student.sdu.dk>2025-11-30 14:24:52 +0100
committerMikkel Thestrup <mithe24@student.sdu.dk>2025-11-30 14:24:52 +0100
commita23cb6d6f011950b11789898c10e63f4473a5200 (patch)
treee6f0c3c85e240848a03909639ac227db05f7da2a /src/main.c
parent06be9b97b3cc575c69d037d6ba09950c0a53d7f3 (diff)
downloadcycle-detector-a23cb6d6f011950b11789898c10e63f4473a5200.tar.gz
cycle-detector-a23cb6d6f011950b11789898c10e63f4473a5200.zip
Updated every file and function to follow style guide
Diffstat (limited to '')
-rw-r--r--src/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index e347552..2d0fdf7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,4 +1,4 @@
-#include "cycleDetection.h"
+#include "cycle_detection.h"
#include <stdio.h>
#include <stdlib.h>
@@ -11,9 +11,9 @@ int main(int argc, char **argv) {
return 1;
}
- Graph *g = Graph_read(argv[1]);
+ Graph *g = graph_read(argv[1]);
if(!g) return 2;
- cycleDetection(g);
- Graph_delete(g);
+ cycle_detection(g);
+ graph_delete(g);
return 0;
}