From c2b9a31c93b081d4f0d6fb882df572df415783b1 Mon Sep 17 00:00:00 2001 From: tTh Date: Thu, 20 Apr 2023 22:55:46 +0200 Subject: [PATCH] move a proto declaration to the right place --- tools/objtrucs.h | 5 ++++- tools/read_obj.c | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/objtrucs.h b/tools/objtrucs.h index 0fa106b..a584132 100644 --- a/tools/objtrucs.h +++ b/tools/objtrucs.h @@ -13,6 +13,9 @@ typedef struct { int status; } EdgesAndVertices; -int x_write_vertedges(char *filename, BBList *bblist, EdgeList *edges); +/* in importobj.c */ +int try_to_read_an_OBJ_file(char *fname, int outstyle); +/* in rdwredges.c */ +int x_write_vertedges(char *filename, BBList *bblist, EdgeList *edges); int x_load_vertedges(char *filename, EdgesAndVertices *eav); diff --git a/tools/read_obj.c b/tools/read_obj.c index 3621b5a..23e9df7 100644 --- a/tools/read_obj.c +++ b/tools/read_obj.c @@ -7,9 +7,9 @@ #include // for basename(3) #include "../bubulles.h" +#include "../edges.h" -int try_to_read_an_OBJ_file(char *fname, int outstyle); - +#include "./objtrucs.h" int verbosity = 0;