From 221a0578a4d8a2f027bd2b0d348d00ff7402e319 Mon Sep 17 00:00:00 2001 From: vil02 Date: Thu, 14 Sep 2023 20:05:02 +0200 Subject: [PATCH] style: add missing `const` --- data_structures/graphs/kruskal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_structures/graphs/kruskal.c b/data_structures/graphs/kruskal.c index cd2b10a0b4..44844c0d7c 100644 --- a/data_structures/graphs/kruskal.c +++ b/data_structures/graphs/kruskal.c @@ -41,7 +41,7 @@ struct Graph *createGraph(int V, int E) * * @param ptr Pointer to the graph structure to be deallocated. */ -void deleteGraph(struct Graph *graph) +void deleteGraph(struct Graph *const graph) { if (graph == NULL) {