From 16b0b429c0e4c9e6c131b16de0c0f2cedb44b3d9 Mon Sep 17 00:00:00 2001 From: Vytor Calixto <vytorcalixto@gmail.com> Date: Thu, 11 May 2017 22:01:34 -0300 Subject: [PATCH] Move struct grafo do .c para .h --- libs/grafo.c | 4 ---- libs/grafo.h | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/grafo.c b/libs/grafo.c index 4aa6f1c..6fb99f1 100644 --- a/libs/grafo.c +++ b/libs/grafo.c @@ -4,10 +4,6 @@ #include "vertice.h" #include "tabuleiro.h" -struct Grafo { - Lista vertices; -}; - Grafo criaGrafo() { Grafo g = malloc(sizeof(struct Grafo)); diff --git a/libs/grafo.h b/libs/grafo.h index 5e2d9e5..aef7000 100644 --- a/libs/grafo.h +++ b/libs/grafo.h @@ -2,6 +2,10 @@ #define _GRAFO_ #include "tabuleiro.h" +struct Grafo { + Lista vertices; +}; + typedef struct Grafo *Grafo; Grafo criaGrafo(); -- GitLab