summaryrefslogtreecommitdiff
path: root/src/03/graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/03/graph.c')
-rw-r--r--src/03/graph.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/03/graph.c b/src/03/graph.c
index e8b6b5e..ed244ba 100644
--- a/src/03/graph.c
+++ b/src/03/graph.c
@@ -1 +1,8 @@
#include "graph.h"
+#include <stdlib.h>
+
+Vertex *graph_initialize(char label) {
+ Vertex *item = malloc(sizeof(Vertex));
+ item->label = label;
+ return item;
+};