From 4e05a55e373bd315e721d534a1711fec4c0054c5 Mon Sep 17 00:00:00 2001 From: Julian T Date: Mon, 12 Oct 2020 16:26:42 +0200 Subject: Moved to linux kernel inspired clang-format --- sem3/algo/mm12/graph.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'sem3/algo/mm12/graph.h') diff --git a/sem3/algo/mm12/graph.h b/sem3/algo/mm12/graph.h index e957c4d..f4f2c8f 100644 --- a/sem3/algo/mm12/graph.h +++ b/sem3/algo/mm12/graph.h @@ -5,23 +5,23 @@ struct vertex_struct; // Linked list typedef struct edge_struct { - int weight; - struct vertex_struct *from; - struct vertex_struct *to; - // Linked list stuff - struct edge_struct *next; - struct edge_struct *prev; + int weight; + struct vertex_struct *from; + struct vertex_struct *to; + // Linked list stuff + struct edge_struct *next; + struct edge_struct *prev; } edge_t; typedef struct vertex_struct { - char ref; - int dist; - struct vertex_struct *p; - edge_t *adj; + char ref; + int dist; + struct vertex_struct *p; + edge_t *adj; } vertex_t; typedef struct { - vertex_t *vertexes[128]; + vertex_t *vertexes[128]; } graph_t; -- cgit v1.2.3